Example #1
0
 /**
  * Finds a control by ID.
  * This method overrides the parent implementation so that it always returns
  * the checkbox list itself (because the checkbox list does not have child controls.)
  * @param string control ID
  * @return TControl control being found
  */
 public function findControl($id, $real = false)
 {
     if ($real === true) {
         return parent::findControl($id);
     }
     return $this;
 }