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;
		}
	}