/** * @return int * @desc Get the number of direct child elements of this element */ function CountControls() { return $this->b_empty ? 0 : parent::CountControls(); }