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