Lister::formatRow PHP Method

formatRow() public method

Called after iterating and may be redefined to change contents of :php:attr:Lister::current_row. Redefine this method to change rendering logic.
public formatRow ( )
    public function formatRow()
    {
        $this->hook('formatRow');
    }

Usage Example

Exemplo n.º 1
0
 function formatRow()
 {
     parent::formatRow();
     $this->odd_even = $this->odd_even == 'odd' ? 'even' : 'odd';
     $this->current_row['odd_even'] = $this->odd_even;
 }
All Usage Examples Of Lister::formatRow