Example #1
0
 protected function init()
 {
     $this->columns['username']['unique'] = true;
     $this->columns['username']['required'] = true;
     $this->columns['password']['required'] = true;
     return parent::init();
 }
Example #2
0
 protected function init()
 {
     $this->columns['model_id']['required'] = true;
     $this->columns['model_type_id']['required'] = true;
     $this->columns['category_id']['required'] = \GO\Comments\CommentsModule::commentsRequired();
     return parent::init();
 }
Example #3
0
 protected function init()
 {
     $this->columns['text']['gotype'] = 'html';
     $this->columns['time']['gotype'] = 'unixtimestamp';
     $this->columns['vtime']['gotype'] = 'unixtimestamp';
     parent::init();
 }
Example #4
0
 protected function init()
 {
     $this->columns['address']['unique'] = true;
     $this->columns['address']['required'] = true;
     $this->columns['goto']['gotype'] = 'textfield';
     $this->columns['goto']['required'] = true;
     return parent::init();
 }
Example #5
0
 protected function init()
 {
     $this->columns['content']['required'] = true;
     //		$this->addDefaultTag('contact:salutation', \GO::t('default_salutation_unknown'));
     $this->addDefaultTag('salutation', \GO::t('default_salutation_unknown'));
     $this->addDefaultTag('date', \GO\Base\Util\Date::get_timestamp(time(), false));
     return parent::init();
 }
Example #6
0
 protected function init()
 {
     $this->columns['name']['unique'] = true;
     $this->columns['nextrun']['gotype'] = 'unixtimestamp';
     $this->columns['lastrun']['gotype'] = 'unixtimestamp';
     $this->columns['completedat']['gotype'] = 'unixtimestamp';
     return parent::init();
 }
Example #7
0
 protected function init()
 {
     $this->columns['domain']['unique'] = true;
     $this->columns['total_quota']['gotype'] = 'number';
     $this->columns['default_quota']['gotype'] = 'number';
     $this->columns['max_aliases']['gotype'] = 'number';
     $this->columns['max_mailboxes']['gotype'] = 'number';
     return parent::init();
 }
Example #8
0
 protected function init()
 {
     //		$this->columns['max']['gotype']='number';
     //		$this->columns['height']['gotype']='number';
     $this->columns['name']['required'] = true;
     $this->columns['max_length']['gotype'] = 'number';
     $this->columns['max_length']['decimals'] = 0;
     parent::init();
 }
Example #9
0
 protected function init()
 {
     $this->columns['name']['required'] = true;
     $this->columns['tasklist_id']['required'] = true;
     $this->columns['start_time']['gotype'] = 'unixdate';
     $this->columns['due_time']['gotype'] = 'unixdate';
     $this->columns['due_time']['greaterorequal'] = 'start_time';
     $this->columns['completion_time']['gotype'] = 'unixdate';
     $this->columns['repeat_end_time']['gotype'] = 'unixdate';
     $this->columns['reminder']['gotype'] = 'unixtimestamp';
     parent::init();
 }
Example #10
0
 protected function init()
 {
     $this->_load();
     return parent::init();
 }
Example #11
0
 protected function init()
 {
     $this->columns['data']['gotype'] = 'html';
     return parent::init();
 }
Example #12
0
 protected function init()
 {
     $this->columns['slug']['unique'] = array('site_id');
     parent::init();
 }
Example #13
0
 protected function init()
 {
     $this->columns['content']['gotype'] = 'text';
     return parent::init();
 }
Example #14
0
 protected function init()
 {
     $this->columns['name']['required'] = true;
     $this->columns['field_id']['required'] = true;
     parent::init();
 }
Example #15
0
 public function init()
 {
     $this->columns['email']['regex'] = \GO\Base\Util\String::get_email_validation_regex();
     $this->columns['email']['required'] = true;
     $this->columns['password']['required'] = true;
     $this->columns['username']['required'] = true;
     $this->columns['username']['regex'] = '/^[A-Za-z0-9_\\-\\.\\@]*$/';
     $this->columns['first_name']['required'] = true;
     $this->columns['last_name']['required'] = true;
     $this->columns['timezone']['required'] = true;
     $this->columns['lastlogin']['gotype'] = 'unixtimestamp';
     $this->columns['disk_quota']['gotype'] = 'number';
     $this->columns['disk_quota']['decimals'] = 0;
     return parent::init();
 }
 public function init()
 {
     //$className = $this->className();
     $this->_getAllFields();
     return parent::init();
 }
Example #17
0
 protected function init()
 {
     parent::init();
     $this->columns['time']['required'] = true;
 }
Example #18
0
 protected function init()
 {
     $this->columns['content']['gotype'] = 'html';
     $this->columns['due_time']['gotype'] = 'unixdate';
     return parent::init();
 }
Example #19
0
 protected function init()
 {
     $this->columns['name']['required'] = true;
     $this->columns['category_id']['required'] = true;
     return parent::init();
 }
Example #20
0
 protected function init()
 {
     $this->columns['addressbook_id']['required'] = true;
     $this->columns['email']['regex'] = \GO\Base\Util\String::get_email_validation_regex();
     $this->columns['invoice_email']['regex'] = \GO\Base\Util\String::get_email_validation_regex();
     //
     //		$this->columns['phone']['gotype']='phone';
     //		$this->columns['fax']['gotype']='phone';
     return parent::init();
 }
Example #21
0
 protected function init()
 {
     $this->columns['expire_time']['gotype'] = 'unixdate';
     $this->columns['name']['required'] = true;
     parent::init();
 }
Example #22
0
 protected function init()
 {
     $this->columns['user_id']['required'] = true;
     $this->columns['description']['required'] = true;
     return parent::init();
 }
Example #23
0
 protected function init()
 {
     $this->columns['host']['required'] = true;
     $this->columns['username']['required'] = true;
     $this->columns['password']['required'] = true;
     parent::init();
 }
Example #24
0
 protected function init()
 {
     $this->columns['name']['unique'] = true;
     return parent::init();
 }
Example #25
0
 protected function init()
 {
     $this->columns['calendar_id']['required'] = true;
     $this->columns['start_time']['gotype'] = 'unixtimestamp';
     $this->columns['end_time']['greater'] = 'start_time';
     $this->columns['end_time']['gotype'] = 'unixtimestamp';
     $this->columns['repeat_end_time']['gotype'] = 'unixtimestamp';
     $this->columns['repeat_end_time']['greater'] = 'start_time';
     //$this->columns['category_id']['required'] = \GO\Calendar\CalendarModule::commentsRequired();
     parent::init();
 }
Example #26
0
 protected function init()
 {
     $this->columns['name']['unique'] = array("user_id");
     return parent::init();
 }
Example #27
0
 protected function init()
 {
     //$this->columns['time']='unixtimestamp';
     return parent::init();
 }
Example #28
0
 protected function init()
 {
     $this->columns["income"]["gotype"] = "number";
     return parent::init();
 }
Example #29
0
 protected function init()
 {
     $this->columns['addressbook_id']['required'] = true;
     $this->columns['email']['regex'] = \GO\Base\Util\String::get_email_validation_regex();
     $this->columns['email2']['regex'] = \GO\Base\Util\String::get_email_validation_regex();
     $this->columns['email3']['regex'] = \GO\Base\Util\String::get_email_validation_regex();
     //		$this->columns['home_phone']['gotype']='phone';
     //		$this->columns['work_phone']['gotype']='phone';
     //		$this->columns['cellular']['gotype']='phone';
     //		$this->columns['cellular2']['gotype']='phone';
     //		$this->columns['fax']['gotype']='phone';
     //		$this->columns['work_fax']['gotype']='phone';
     $this->columns['action_date']['gotype'] = 'unixtimestamp';
     return parent::init();
 }