Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
[?php
2
 
3
/**
4
 * <?php echo $this->getModuleName() ?> module configuration.
5
 *
6
 * @package    ##PROJECT_NAME##
7
 * @subpackage <?php echo $this->getModuleName()."\n" ?>
8
 * @author     ##AUTHOR_NAME##
9
 */
10
abstract class Base<?php echo ucfirst($this->getModuleName()) ?>GeneratorHelper extends sfModelGeneratorHelper
11
{
12
  public function getUrlForAction($action)
13
  {
14
    return 'list' == $action ? '<?php echo $this->params['route_prefix'] ?>' : '<?php echo $this->params['route_prefix'] ?>_'.$action;
15
  }
16
}