예제 #1
0
파일: Mailbox.php 프로젝트: ajaboa/crmpuan
 protected function init()
 {
     $this->columns['username']['unique'] = true;
     $this->columns['username']['required'] = true;
     $this->columns['password']['required'] = true;
     return parent::init();
 }
예제 #2
0
파일: Comment.php 프로젝트: ajaboa/crmpuan
 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
파일: Reminder.php 프로젝트: ajaboa/crmpuan
 protected function init()
 {
     $this->columns['text']['gotype'] = 'html';
     $this->columns['time']['gotype'] = 'unixtimestamp';
     $this->columns['vtime']['gotype'] = 'unixtimestamp';
     parent::init();
 }
예제 #4
0
파일: Alias.php 프로젝트: ajaboa/crmpuan
 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
파일: Template.php 프로젝트: ajaboa/crmpuan
 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
파일: CronJob.php 프로젝트: ajaboa/crmpuan
 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
파일: Domain.php 프로젝트: ajaboa/crmpuan
 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
파일: Field.php 프로젝트: ajaboa/crmpuan
 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
파일: Task.php 프로젝트: ajaboa/crmpuan
 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
파일: Content.php 프로젝트: ajaboa/crmpuan
 protected function init()
 {
     $this->columns['slug']['unique'] = array('site_id');
     parent::init();
 }
예제 #13
0
파일: Bookmark.php 프로젝트: ajaboa/crmpuan
 protected function init()
 {
     $this->columns['content']['gotype'] = 'text';
     return parent::init();
 }
예제 #14
0
파일: Block.php 프로젝트: ajaboa/crmpuan
 protected function init()
 {
     $this->columns['name']['required'] = true;
     $this->columns['field_id']['required'] = true;
     parent::init();
 }
예제 #15
0
파일: User.php 프로젝트: ajaboa/crmpuan
 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
파일: Note.php 프로젝트: ajaboa/crmpuan
 protected function init()
 {
     $this->columns['name']['required'] = true;
     $this->columns['category_id']['required'] = true;
     return parent::init();
 }
예제 #20
0
파일: Company.php 프로젝트: ajaboa/crmpuan
 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
파일: File.php 프로젝트: ajaboa/crmpuan
 protected function init()
 {
     $this->columns['expire_time']['gotype'] = 'unixdate';
     $this->columns['name']['required'] = true;
     parent::init();
 }
예제 #22
0
파일: Acl.php 프로젝트: ajaboa/crmpuan
 protected function init()
 {
     $this->columns['user_id']['required'] = true;
     $this->columns['description']['required'] = true;
     return parent::init();
 }
예제 #23
0
파일: Account.php 프로젝트: ajaboa/crmpuan
 protected function init()
 {
     $this->columns['host']['required'] = true;
     $this->columns['username']['required'] = true;
     $this->columns['password']['required'] = true;
     parent::init();
 }
예제 #24
0
파일: Group.php 프로젝트: ajaboa/crmpuan
 protected function init()
 {
     $this->columns['name']['unique'] = true;
     return parent::init();
 }
예제 #25
0
파일: Event.php 프로젝트: ajaboa/crmpuan
 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
파일: Category.php 프로젝트: ajaboa/crmpuan
 protected function init()
 {
     $this->columns['name']['unique'] = array("user_id");
     return parent::init();
 }
예제 #27
0
파일: Log.php 프로젝트: ajaboa/crmpuan
 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
파일: Contact.php 프로젝트: ajaboa/crmpuan
 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();
 }