Source for file AmiSample_Frn.php
Documentation is available at AmiSample_Frn.php
* @copyright Amiro.CMS. All rights reserved.
* @version $Id: AmiSample_Frn.php 61273 2013-08-07 10:47:54Z Leontiev Anton $
* Sample module front action controller.
* @resource ami_sample/module/controller/frn <code>AMI::getResource('ami_sample/module/controller/frn')</code>
* @var AmiSample_ListViewFrn
* @param array $aPluginParams Plugin parameters.
$this->oView =
AMI::getResource($this->getModId() .
'/list/view/frn');
'templates_path' =>
$aPluginParams['templates_path']
$oModelList =
AMI::getResourceModel($this->getModId() .
'/table')->getList();
$oModelList->addColumns(array('id', 'nickname', 'birth'));
$this->oView->setModel($oModelList);
return $this->oView->get();