public function initialize()
 {
     parent::initialize();
     $this->loadModel('Characters');
     $this->loadModel('Armour');
     $this->loadModel('CharactersArmour');
 }
Example #2
0
 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');
 }
Example #5
0
 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
 }
Example #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']);
 }
Example #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);
 }
Example #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');
 }
Example #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();
 }
Example #16
0
 public function initialize()
 {
     parent::initialize();
     $this->Auth->allow();
 }
Example #17
0
 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']);
 }
Example #20
0
 public function initialize()
 {
     $this->allow = ['index'];
     parent::initialize();
 }
 /**
  * Initializer
  *
  * @return void
  */
 public function initialize()
 {
     $this->loadModel('Attachments.Attachments');
     parent::initialize();
 }
Example #22
0
 /**
  * Initialize method.
  *
  * @return void
  */
 public function initialize()
 {
     parent::initialize();
     $this->loadComponent('Cookie');
 }
Example #23
0
 /**
  * @internal
  */
 public function initialize()
 {
     parent::initialize();
     $this->loadModel('Groups');
 }
Example #24
0
 public function initialize()
 {
     parent::initialize();
     $this->viewBuilder()->layout('main');
 }