title: How can i use a controller's method in every web page of the application in cake php 3
body: <p>I am using AdminLTE theme now i want to add a functionality in header in which i need data from database how can i get this done in cake php 3 . I have done it by calling query and getting data in view but that is violation of mvc. How can i get data from database and use this data in every view. </p>