/** * Sets the default repeat direction to horizontal. */ public function __construct() { parent::__construct(); $this->setRepeatDirection(TRepeatDirection::Horizontal); }
/** * Creates a new callback control, sets the adapter to * TActiveListControlAdapter. If you override this class, be sure to set the * adapter appropriately by, for example, by calling this constructor. */ public function __construct() { $this->setAdapter(new TActiveListControlAdapter($this)); $this->setAutoPostBack(true); parent::__construct(); }