Amiro.CMS API Reference
Amiro.Ru / Manual
Loading search...

Source for file ami_sample_mapping_frn.php

Documentation is available at ami_sample_mapping_frn.php

  • <?php
  • /**
  •  * Sample module front resources declaration file.
  •  *
  •  * @copyright  Amiro.CMS. All rights reserved.
  •  * @package    Module_Sample
  •  * @since      5.12.0
  •  * @filesource
  •  * @version    $Id: ami_sample_mapping_frn.php 61273 2013-08-07 10:47:54Z Leontiev Anton $
  •  */
  •  
  • /*
  •  
  • // You can declare your custom resorces here.
  • // Example:
  •  
  • $modId = 'ami_sample';
  •  
  • // Module front controller and module model
  • AMI::addModResources($modId, 'module', array('controller/frn'));
  •  
  • AMI::addResourceMapping(
  •     array(
  •         $modId . '/list/view/frn'  => AMI::getClassPrefix($modId) . '_ListViewFrn',
  •     )
  • );
  •  
  • */