Пример #1
0
 public function show()
 {
     $inputHtmlTag = new owebp_Html_Input(array('name' => $this->getOption('name'), 'id' => $this->getOption('name'), 'size' => $this->getOption('size'), 'class' => $this->getOption('class'), 'required' => $this->getOption('required'), 'content' => $this->getOption('value'), 'jpm_foreign_collection' => $this->getOption('jpm_foreign_collection'), 'jpm_foreign_search_fields' => $this->getOption('jpm_foreign_search_fields'), 'jpm_foreign_title_fields' => $this->getOption('jpm_foreign_title_fields')));
     $valueInstance = new owebp_Form_Field_Value(array('value' => $this->getOption('value'), 'jpm_foreign_collection' => $this->getOption('jpm_foreign_collection'), 'jpm_foreign_title_fields' => $this->getOption('jpm_foreign_title_fields')));
     /* return with cover */
     return (new owebp_Html_FormFieldComponentCover(array('position' => $this->getOption('position'), 'content' => $inputHtmlTag->get() . $valueInstance->get())))->get();
 }
Пример #2
0
 public function show()
 {
     $valueInstance = new owebp_Form_Field_Value(array('value' => $this->getOption('value'), 'jpm_foreign_collection' => $this->getOption('jpm_foreign_collection'), 'jpm_foreign_title_fields' => $this->getOption('jpm_foreign_title_fields'), 'dataClassName' => $this->getOption('dataClassName')));
     return (new owebp_Html_FormFieldComponentCover(array('position' => $this->getOption('position'), 'content' => $valueInstance->get())))->get();
 }