示例#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, call this constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setAdapter(new TActiveControlAdapter($this));
 }
示例#2
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->EnableViewState = false;
 }