framework/console/CConsoleCommand.php
protected function afterAction($action,$params,$exitCode=0)
	{
		$event=new CConsoleCommandEvent($this,$params,$action,$exitCode);
		if($this->hasEventHandler('onAfterAction'))
			$this->onAfterAction($event);
		return $event->exitCode;
	}
protected function afterAction($action,$params,$exitCode=0)
	{
		$event=new CConsoleCommandEvent($this,$params,$action,$exitCode);
		if($this->hasEventHandler('onAfterAction'))
			$this->onAfterAction($event);
		return $event->exitCode;
	}
protected function afterAction ( $ action , $ params , $ exitCode = 0 ) { $ event = new CConsoleCommandEvent ( $ this , $ params , $ action , $ exitCode ) ; if ( $ this -> hasEventHandler ( 'onAfterAction' ) ) $ this -> onAfterAction ( $ event ) ; return $ event -> exitCode ; }
This method is invoked right after an action finishes execution.
You may override this method to do some postprocessing for the action.
@param string $action the action name
@param array $params the parameters to be passed to the action method.
@param integer $exitCode the application exit code returned by the action method.
@return integer application exit code (return value is available since version 1.1.11)
This method is invoked right after an action finishes execution . You may override this method to do some postprocessing for the action .