public function createAction($actionID)
	{
		if ($actionID==='')
			$actionID=$this->defaultAction;

		if (Yii::app()->request->getRequestType() != 'GET' && $actionID != 'error')
			$actionID .= Yii::app()->request->getRequestType();

		if (method_exists($this,'action'.$actionID) && strcasecmp($actionID,'s')) // we have actions method
			return new ApiInlineAction($this,$actionID);
		else
		{
			$action=$this->createActionFromMap($this->actions(),$actionID,$actionID);
			if ($action!==null && !method_exists($action,'run'))
				throw new CException(Yii::t('yii', 'Action class {class} must implement the "run" method.', array('{class}'=>get_class($action))));

			return $action;
		}
	}
public function createAction($actionID)
	{
		if ($actionID==='')
			$actionID=$this->defaultAction;

		if (Yii::app()->request->getRequestType() != 'GET' && $actionID != 'error')
			$actionID .= Yii::app()->request->getRequestType();

		if (method_exists($this,'action'.$actionID) && strcasecmp($actionID,'s')) // we have actions method
			return new ApiInlineAction($this,$actionID);
		else
		{
			$action=$this->createActionFromMap($this->actions(),$actionID,$actionID);
			if ($action!==null && !method_exists($action,'run'))
				throw new CException(Yii::t('yii', 'Action class {class} must implement the "run" method.', array('{class}'=>get_class($action))));

			return $action;
		}
	}
public function createAction ( $ actionID ) { if ( $ actionID === '' ) $ actionID = $ this -> defaultAction ; if ( Yii :: app ( ) -> request -> getRequestType ( ) != 'GET' && $ actionID != 'error' ) $ actionID .= Yii :: app ( ) -> request -> getRequestType ( ) ; if ( method_exists ( $ this , 'action' . $ actionID ) && strcasecmp ( $ actionID , 's' ) ) // we have actions method
 return new ApiInlineAction ( $ this , $ actionID ) ; else { $ action = $ this -> createActionFromMap ( $ this -> actions ( ) , $ actionID , $ actionID ) ; if ( $ action !== null && ! method_exists ( $ action , 'run' ) ) throw new CException ( Yii :: t ( 'yii' , 'Action class {class} must implement the "run" method.' , array ( '{class}' => get_class ( $ action ) ) ) ) ; return $ action ; } }
Method overload allows clearer separation of controller actions in relation to REQUEST_TYPE

GET actions will be routed to action$actionID
Other actions will be routed to action$actionIDREQUEST_TYPE
@param $actionID string  The string name of the action that we want to run
@return CInlineAction
@see CController::createAction($actionID)
Method overload allows clearer separation of controller actions in relation to REQUEST_TYPE