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

public setControl ( Prado\Web\UI\ActiveControls\IActiveControl $control )
$control Prado\Web\UI\ActiveControls\IActiveControl
Пример #1
0
 /**
  * Creates a collection object to hold list items. A specialized
  * TActiveListItemCollection is created to allow the drop down list options
  * to be added.
  * This method may be overriden to create a customized collection.
  * @return TActiveListItemCollection the collection object
  */
 protected function createListItemCollection()
 {
     $collection = new TActiveListItemCollection();
     $collection->setControl($this);
     return $collection;
 }