__construct() public méthode

public __construct ( $objParentObject, $strControlId = null )
Exemple #1
0
 /**
  * Note that the constructor cannot be put into the trait, because it will cause a conflict.
  * @param \QControl|\QControlBase|\QForm $objParent
  * @param null $strControlId
  */
 public function __construct($objParent, $strControlId = null)
 {
     parent::__construct($objParent, $strControlId);
     Bootstrap::LoadJS($this);
     /*
     
     if ($this instanceof \QTextBoxBase ||
     	$this instanceof \QListBox) {
     	$this->AddCssClass (Bootstrap::FormControl);
     }
     */
 }