protected function setBaseControlClass($type)
{
if ($type === null) {
if ($this->getControl() instanceof ICallbackEventHandler) {
$this->_activeControlType = 'Prado\\Web\\UI\\ActiveControls\\TBaseActiveCallbackControl';
} else {
$this->_activeControlType = 'Prado\\Web\\UI\\ActiveControls\\TBaseActiveControl';
}
} else {
$this->_activeControlType = $type;
}
}