public function AddChildControl($objControl) { if (!$objControl instanceof MJaxTouchListItem) { throw new QCallerException("Child controls of MJaxList must be MJaxListItems"); } parent::AddChildControl($objControl); }