E
E
EVOSandru62016-03-31 10:43:41
Yii
EVOSandru6, 2016-03-31 10:43:41

How to accept incoming model parameter in external activity in Yii1?

Good afternoon,
Can you tell me how to do this?
For example, I call in a third-party external action this external action:
$this->actionGenerate($model, $index);
How now to accept the model in the external action?
In normal actions, this can be done without any problems:
public function actionGenerate($model, $index) {
But here I don’t know how ( Will this be an incoming parameter to run() , __construct , or what?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question