Or alert your controller adding new actions by hand:
<?php
class YourclassController extends Controller {
public $layout = '//layouts/column2';
private $_model;
public function actions() {
return array(
'aclist' => array(
'class' => 'ext.YourAmathingAction',
'model' => 'YourModel', /* ... if you want to pass a model */
'say' => '33' /* ... if you want to pass a value */
),
);
}
that means:
<?php
class YourAmathingAction extends CAction {
public $model;
public $attribute;
public function run() {
$yourVar = ....
/* from here you can read $this->model or $this->say ... or variable you pass from the controller */
echo CJSON::encode($yourVar);
}
}