public function ensureRenderInForm($control) { if (!$this->getIsCallback() && !$this->_inFormRender) { throw new TConfigurationException('page_control_outofform', get_class($control), $control ? $control->getUniqueID() : null); } }