/** * Constructor. * Registers the radiobutton in a global radiobutton collection. * If overridden, the parent implementation must be invoked first. */ public function __construct() { parent::__construct(); $this->_globalID = self::$_buttonCount++; }
/** * 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 TActiveControlAdapter($this)); $this->setAutoPostBack(true); }