public function initialize()
 {
     parent::initialize();
     $this->loadModel('Characters');
     $this->loadModel('Armour');
     $this->loadModel('CharactersArmour');
 }
 public function initialize()
 {
     parent::initialize();
     $this->loadComponent('RequestHandler');
     $this->loadModel('Characters');
     $this->loadModel('Obligations');
 }
 public function initialize()
 {
     parent::initialize();
     $this->loadModel('Characters');
     $this->loadModel('Items');
     $this->loadModel('CharactersItems');
 }
 public function initialize()
 {
     parent::initialize();
     $this->loadModel('CharactersWeapons');
     $this->loadModel('Characters');
     $this->loadModel('Weapons');
 }
 public function initialize()
 {
     parent::initialize();
     $this->loadComponent('Flash');
     // Include the FlashComponent
     /*$user = $this->Auth->user();
       $this->set(compact('user'));*/
 }
 public function initialize()
 {
     parent::initialize();
     // Set the layout
     $this->layout = 'frontend';
     $this->loadComponent('Flash');
     // Include the FlashComponent
 }
Beispiel #7
0
 public function initialize()
 {
     parent::initialize();
     $this->mapMethod('add', ['referee']);
     $this->mapMethod('delete', ['referee']);
     $this->mapMethod('edit', ['referee']);
     $this->mapMethod('index', ['player']);
     $this->mapMethod('view', ['player']);
 }
Beispiel #8
0
 public function initialize()
 {
     parent::initialize();
     $this->mapMethod('add', ['referee']);
     $this->mapMethod('delete', ['super']);
     $this->mapMethod('edit', ['referee']);
     $this->mapMethod('index', ['referee']);
     $this->mapmethod('view', ['referee', 'user'], true);
 }
 public function initialize()
 {
     parent::initialize();
     $this->mapMethod('charactersAdd', ['infobalie']);
     $this->mapMethod('charactersDelete', ['infobalie']);
     $this->mapMethod('charactersEdit', ['infobalie']);
     $this->mapMethod('charactersIndex', ['referee', 'user'], true);
     $this->mapMethod('charactersView', ['referee', 'user'], true);
     $this->mapMethod('spellsIndex', ['referee'], true);
 }
 public function initialize()
 {
     parent::initialize();
     $this->mapMethod('charactersAdd', ['infobalie']);
     $this->mapMethod('charactersDelete', ['infobalie']);
     # There are no properties on this relation to edit
     #		$this->mapMethod('charactersEdit',   [ 'infobalie'       ]);
     $this->mapMethod('charactersIndex', ['referee'], true);
     $this->mapMethod('charactersView', ['referee', 'user'], true);
     $this->mapMethod('skillsIndex', ['referee'], true);
 }
Beispiel #11
0
 public function initialize()
 {
     parent::initialize();
 }
 public function initialize()
 {
     parent::initialize();
     $this->loadComponent('Flash');
     // Include the FlashComponent
 }
 /**
  * Initialize the controller with the navigation component
  *
  * @return void
  */
 public function initialize()
 {
     parent::initialize();
     $this->loadComponent('Navigation');
 }
Beispiel #14
0
 /**
  * Initialization hook method.
  *
  * @return void
  */
 public function initialize()
 {
     parent::initialize();
     $this->loadComponent('Search.Prg');
     $this->loadComponent('Union/Core.BulkProcess');
 }
 public function initialize()
 {
     $this->viewBuilder()->layout(false);
     parent::initialize();
 }
Beispiel #16
0
 public function initialize()
 {
     parent::initialize();
     $this->Auth->allow();
 }
 public function initialize()
 {
     parent::initialize();
     $this->loadComponent('Paginator');
 }
 public function initialize()
 {
     parent::initialize();
     $this->loadComponent('RequestHandler');
 }
 public function initialize()
 {
     parent::initialize();
     $this->loadModel('Users');
     $this->loadComponent('ImageUpload', ['upload_dir' => 'webroot/img/avatars']);
 }
Beispiel #20
0
 public function initialize()
 {
     $this->allow = ['index'];
     parent::initialize();
 }
 /**
  * Initializer
  *
  * @return void
  */
 public function initialize()
 {
     $this->loadModel('Attachments.Attachments');
     parent::initialize();
 }
Beispiel #22
0
 /**
  * Initialize method.
  *
  * @return void
  */
 public function initialize()
 {
     parent::initialize();
     $this->loadComponent('Cookie');
 }
Beispiel #23
0
 /**
  * @internal
  */
 public function initialize()
 {
     parent::initialize();
     $this->loadModel('Groups');
 }
 public function initialize()
 {
     parent::initialize();
     $this->viewBuilder()->layout('main');
 }