<?php
class TestController
{
public function actions()
{
return array(
'edit' => 'application.....EditAction',
)
}
}
?>
no i w pliku EditAction.php chciałbym zrobić coś w stylu:
$this->render('edit');
ale oczywiście się nie da
Posted 28 July 2010 - 10:39 AM
<?php
class TestController
{
public function actions()
{
return array(
'edit' => 'application.....EditAction',
)
}
}
?>
Posted 29 July 2010 - 10:23 AM
$this->getController()->render( 'path.to.view.file' , array( 'model' => $model ) );