Beispiel #1
0
 function init()
 {
     parent::init();
     $this->getElement('head')->enum(['Official', 'Personal']);
     $this->addCondition('type', 'Email');
     $this->is(['value|unique_in_epan|to_trim|required|email']);
 }
Beispiel #2
0
 function init()
 {
     parent::init();
     $this->getElement('head')->enum(['Official', 'Personal', 'Mobile']);
     $this->addCondition('type', 'Phone');
 }
Beispiel #3
0
 function init()
 {
     parent::init();
     $this->getElement('head')->enum(['DOB', 'Anniversary']);
     $this->addCondition('type', 'Event');
 }
Beispiel #4
0
Datei: IM.php Projekt: xepan/base
 function init()
 {
     parent::init();
     $this->getElement('head')->enum(['Skype', 'Yahoo', 'ICM', 'WhatsApp']);
     $this->addCondition('type', 'IM');
 }
Beispiel #5
0
 function init()
 {
     parent::init();
     $this->getElement('head')->enum(['Father', 'Mother', 'Other']);
     $this->addCondition('type', 'Relation');
 }