protected function initCommandBuilder($builder) { $this->_command = new TDataGatewayCommand($builder); $this->_command->OnCreateCommand[] = array($this, 'onCreateCommand'); $this->_command->OnExecuteCommand[] = array($this, 'onExecuteCommand'); }