/** * Pre-initialise hook. * * @return void */ public function preInitialize() { parent::preInitialize(); $this->objectType = 'category'; $this->objectTypeCapital = 'Category'; $this->objectTypeLower = 'category'; $this->objectTypeLowerMultiple = 'categories'; $this->hasPageLockSupport = true; }
/** * Pre-initialise hook. * * @return void */ public function preInitialize() { parent::preInitialize(); $this->objectType = 'user'; $this->objectTypeCapital = 'User'; $this->objectTypeLower = 'user'; $this->objectTypeLowerMultiple = 'users'; $this->hasPageLockSupport = true; }
/** * Pre-initialise hook. * * @return void */ public function preInitialize() { parent::preInitialize(); $this->objectType = 'posting'; $this->objectTypeCapital = 'Posting'; $this->objectTypeLower = 'posting'; $this->objectTypeLowerMultiple = 'postings'; $this->hasPageLockSupport = true; // array with upload fields and mandatory flags $this->uploadFields = array('firstImage' => false, 'secondImage' => false, 'thirdImage' => false, 'firstFile' => false, 'secondFile' => false, 'thirdFile' => false); }
/** * Pre-initialise hook. * * @return void */ public function preInitialize() { parent::preInitialize(); $this->objectType = 'rank'; $this->objectTypeCapital = 'Rank'; $this->objectTypeLower = 'rank'; $this->objectTypeLowerMultiple = 'ranks'; $this->hasPageLockSupport = true; // array with upload fields and mandatory flags $this->uploadFields = array('uploadImage' => false); }