__construct() публичный Метод

Creates a new callback control, sets the adapter to TActiveControlAdapter. If you override this class, be sure to set the adapter appropriately by, for example, by calling this constructor.
public __construct ( )
Пример #1
0
 /**
  * Creates a new callback control, sets the adapter to
  * TActiveControlAdapter. If you override this class, be sure to set the
  * adapter appropriately by, for example, by calling this constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setAdapter(new TJuiControlAdapter($this));
 }
Пример #2
0
 /**
  * Sets the auto post back to true by default.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setAutoPostBack(true);
 }