phpMv  -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
DeInstanceViewer.php
Go to the documentation of this file.
1 <?php
2 
4 
8 
10 
11  public function __construct($identifier, $instance=NULL, $captions=NULL) {
12  parent::__construct($identifier, $instance, $captions);
13  }
14 
15  public function getValue($index){
16  $result=parent::getValue($index);
17  if($result instanceof HtmlFormField){
18  $lbl=new HtmlSemDoubleElement("lbl-".$this->widgetIdentifier."-".$index,"label","",$this->getCaption($index));
19  $lbl->setProperty("for", $result->getDataField()->getIdentifier());
20  $this->captions[$index]=$lbl;
21  }
22  return $result;
23  }
24 }
Base class for Semantic double elements.
__construct($identifier, $instance=NULL, $captions=NULL)