/**
* Controller action to get a list of all defined templates.
* You can paginate the list over the request parameters
* "start" and "limit".
* Use the internal "getTemplates" function.
*
* @return void
*/
public function getTemplatesAction() { $this->
View()->
assign( $this->
getTemplates( $this->
Request()->
getParam('start'
),
$this->
Request()->
getParam('limit'
),
$this->
Request()->
getParam('id'
) ) );
} protected function initAcl() { $this->
addAclPermission('list', 'read', 'Insufficient permissions'
);
$this->
addAclPermission('detail', 'read', 'Insufficient permissions'
);