Exemplo n.º 1
0
 function __construct($opts = array())
 {
     /* define options  and their defaults */
     $this->setOptionDefault('string', '');
     /* update options with input */
     parent::__construct($opts);
 }
Exemplo n.º 2
0
Arquivo: Help.php Projeto: hybr/jpm
 function __construct($opts = array())
 {
     /* define options  and their defaults */
     $this->setOptionDefault('text', '');
     $this->setOptionDefault('position', '');
     $this->setOptionDefault('fieldName', 'NoFieldName');
     /* update options with input */
     parent::__construct($opts);
 }
Exemplo n.º 3
0
Arquivo: Value.php Projeto: hybr/jpm
 function __construct($opts = array())
 {
     /* define options  and their defaults */
     $this->setOptionDefault('value', '');
     $this->setOptionDefault('jpm_foreign_collection', '');
     $this->setOptionDefault('jpm_foreign_title_fields', '');
     $this->setOptionDefault('dataClassName', '');
     /* update options with input */
     parent::__construct($opts);
 }
Exemplo n.º 4
0
Arquivo: Label.php Projeto: hybr/jpm
 function __construct($opts = array())
 {
     /* define options  and their defaults */
     $this->setOptionDefault('title', 'No Title');
     $this->setOptionDefault('name', 'NoFieldName');
     $this->setOptionDefault('required', '');
     $this->setOptionDefault('position', 'top');
     /* possible values top, left */
     /* update options with input */
     parent::__construct($opts);
 }
Exemplo n.º 5
0
 function __construct($opts = array())
 {
     /* define options  and their defaults */
     $this->setOptionDefault('name', '');
     $this->setOptionDefault('size', '');
     $this->setOptionDefault('value', '');
     $this->setOptionDefault('required', '');
     $this->setOptionDefault('position', 'bottom');
     /* possible values bottom, right */
     /* update options with input */
     parent::__construct($opts);
 }
Exemplo n.º 6
0
Arquivo: Tag.php Projeto: hybr/jpm
 function __construct($opts = array())
 {
     /* define options  and their defaults */
     $this->setOptionDefault('tag', '');
     $this->setOptionDefault('content', '');
     $this->setOptionDefault('id', '');
     $this->setOptionDefault('class', '');
     $this->setOptionDefault('style', '');
     $this->setOptionDefault('name', '');
     /* update options with input */
     parent::__construct($opts);
 }
Exemplo n.º 7
0
 function __construct($opts = array())
 {
     /* define options  and their defaults */
     $this->setOptionDefault('name', '');
     $this->setOptionDefault('size', '');
     $this->setOptionDefault('value', '');
     $this->setOptionDefault('required', '');
     $this->setOptionDefault('position', 'bottom');
     /* possible values bottom, right */
     $this->setOptionDefault('jpm_foreign_collection', '');
     $this->setOptionDefault('jpm_foreign_search_fields', '');
     $this->setOptionDefault('jpm_foreign_title_fields', '');
     /* update options with input */
     parent::__construct($opts);
     $this->setOptionDefault('class', 'jpm_foreign_key_input');
 }
Exemplo n.º 8
0
Arquivo: Widget.php Projeto: hybr/jpm
 function __construct($opts = array())
 {
     /* define options  and their defaults */
     $this->setOptionDefault('name', '');
     $this->setOptionDefault('title', '');
     $this->setOptionDefault('size', '');
     $this->setOptionDefault('value', '');
     $this->setOptionDefault('help', '');
     $this->setOptionDefault('multiple', '');
     $this->setOptionDefault('required', '');
     $this->setOptionDefault('dataClassName', '');
     $this->setOptionDefault('jpm_foreign_collection', '');
     $this->setOptionDefault('jpm_foreign_search_fields', '');
     $this->setOptionDefault('jpm_foreign_title_fields', '');
     $this->setOptionDefault('layout', 'stack');
     /* values: stack, left_title */
     $this->setOptionDefault('inputTag', 'select');
     /* values: select, input */
     /* update options with input */
     parent::__construct($opts);
 }