Example #1
0
 /**
  * 
  * @param Input $field The field
  * @param string $previewImage The url of an optional preview image
  */
 function __construct(Input $field, $previewImage = '')
 {
     $this->field = $field;
     $this->attribs = $field->GetHtmlAttributes();
     $this->previewImage = $previewImage;
 }
Example #2
0
 function __construct(Input $field)
 {
     $this->field = $field;
     $this->attribs = $field->GetHtmlAttributes();
 }