Esempio n. 1
0
 /**
  * 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;
 }
Esempio n. 2
0
 /**
  * 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;
 }
Esempio n. 3
0
 /**
  * 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);
 }
Esempio n. 4
0
 /**
  * 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);
 }