*/ class LSformElement_supannExtProfil extends LSformElement_supannCompositeAttribute { public function __construct(&$form, $name, $label, $params, &$attr_html){ $this -> components = array ( 'etab' => array ( 'label' => _('Establishment'), 'type' => 'table', 'table' => 'codeEtablissement', 'required' => false, ), 'affil' => array ( 'label' => _('EduPerson profil'), 'type' => 'select', 'possible_values' => array('' => '-'), 'get_possible_values' => 'supannGetAffiliationPossibleValues', 'required' => false, ), 'typeaffect' => array ( 'label' => _('Entity type'), 'type' => 'table', 'table' => 'typeEntite', 'required' => false, ), 'affect' => array ( 'label' => _('Assignment entity'), 'type' => 'codeEntite', 'required' => false, ), 'parrain' => array ( 'label' => _('Godfather'), 'type' => 'parrainDN', 'required' => false, ), 'activite' => array ( 'label' => _('Activity'), 'type' => 'table', 'table' => 'supannActivite', 'required' => false, ), 'population' => array ( 'label' => _('Population'), 'type' => 'table', 'table' => 'codePopulation', 'required' => false, ), 'datefin' => array ( 'label' => _('End date'), 'type' => 'date', 'required' => false, ), ); return parent :: __construct($form, $name, $label, $params, $attr_html); } }