Пример #1
0
 protected function init()
 {
     $this->columns['username']['unique'] = true;
     $this->columns['username']['required'] = true;
     $this->columns['password']['required'] = true;
     return parent::init();
 }
Пример #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();
 }
Пример #3
0
 protected function init()
 {
     $this->columns['text']['gotype'] = 'html';
     $this->columns['time']['gotype'] = 'unixtimestamp';
     $this->columns['vtime']['gotype'] = 'unixtimestamp';
     parent::init();
 }
Пример #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();
 }
Пример #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();
 }
Пример #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();
 }
Пример #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();
 }
Пример #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();
 }
Пример #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();
 }
Пример #10
0
 protected function init()
 {
     $this->_load();
     return parent::init();
 }
Пример #11
0
 protected function init()
 {
     $this->columns['data']['gotype'] = 'html';
     return parent::init();
 }
Пример #12
0
 protected function init()
 {
     $this->columns['slug']['unique'] = array('site_id');
     parent::init();
 }
Пример #13
0
 protected function init()
 {
     $this->columns['content']['gotype'] = 'text';
     return parent::init();
 }
Пример #14
0
 protected function init()
 {
     $this->columns['name']['required'] = true;
     $this->columns['field_id']['required'] = true;
     parent::init();
 }
Пример #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();
 }
Пример #16
0
 public function init()
 {
     //$className = $this->className();
     $this->_getAllFields();
     return parent::init();
 }
Пример #17
0
 protected function init()
 {
     parent::init();
     $this->columns['time']['required'] = true;
 }
Пример #18
0
 protected function init()
 {
     $this->columns['content']['gotype'] = 'html';
     $this->columns['due_time']['gotype'] = 'unixdate';
     return parent::init();
 }
Пример #19
0
 protected function init()
 {
     $this->columns['name']['required'] = true;
     $this->columns['category_id']['required'] = true;
     return parent::init();
 }
Пример #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();
 }
Пример #21
0
 protected function init()
 {
     $this->columns['expire_time']['gotype'] = 'unixdate';
     $this->columns['name']['required'] = true;
     parent::init();
 }
Пример #22
0
 protected function init()
 {
     $this->columns['user_id']['required'] = true;
     $this->columns['description']['required'] = true;
     return parent::init();
 }
Пример #23
0
 protected function init()
 {
     $this->columns['host']['required'] = true;
     $this->columns['username']['required'] = true;
     $this->columns['password']['required'] = true;
     parent::init();
 }
Пример #24
0
 protected function init()
 {
     $this->columns['name']['unique'] = true;
     return parent::init();
 }
Пример #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();
 }
Пример #26
0
 protected function init()
 {
     $this->columns['name']['unique'] = array("user_id");
     return parent::init();
 }
Пример #27
0
 protected function init()
 {
     //$this->columns['time']='unixtimestamp';
     return parent::init();
 }
Пример #28
0
 protected function init()
 {
     $this->columns["income"]["gotype"] = "number";
     return parent::init();
 }
Пример #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();
 }