|
|
@ -7,6 +7,8 @@ |
|
|
|
|
|
|
|
|
|
|
|
namespace yii\base; |
|
|
|
namespace yii\base; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
use Yii; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* InlineAction represents an action that is defined as a controller method. |
|
|
|
* InlineAction represents an action that is defined as a controller method. |
|
|
|
* |
|
|
|
* |
|
|
@ -44,6 +46,7 @@ class InlineAction extends Action |
|
|
|
public function runWithParams($params) |
|
|
|
public function runWithParams($params) |
|
|
|
{ |
|
|
|
{ |
|
|
|
$args = $this->controller->bindActionParams($this, $params); |
|
|
|
$args = $this->controller->bindActionParams($this, $params); |
|
|
|
|
|
|
|
Yii::trace("Running '" . get_class($this->controller) . '::' . $this->actionMethod . "()' with parameters: " . var_export($args, true), __METHOD__); |
|
|
|
return call_user_func_array(array($this->controller, $this->actionMethod), $args); |
|
|
|
return call_user_func_array(array($this->controller, $this->actionMethod), $args); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|