Development

Changeset 3494

You must first sign up to be able to contribute.

Changeset 3494

Show
Ignore:
Timestamp:
02/18/07 10:27:26 (2 years ago)
Author:
fabien
Message:

added peer_count_method parameter for list in admin generator (closes #1421 - patch from kta)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/data/generator/sfPropelAdmin/default/template/actions/actions.class.php

    r3335 r3494  
    3636<?php if ($this->getParameterValue('list.peer_method')): ?> 
    3737    $this->pager->setPeerMethod('<?php echo $this->getParameterValue('list.peer_method') ?>'); 
     38<?php endif ?> 
     39<?php if ($this->getParameterValue('list.peer_count_method')): ?> 
     40    $this->pager->setPeerCountMethod('<?php echo $this->getParameterValue('list.peer_count_method') ?>'); 
    3841<?php endif ?> 
    3942    $this->pager->init();