1
0
mirror of synced 2024-12-13 06:46:03 +03:00

adding a toString method to pager layout

This commit is contained in:
pookey 2007-12-18 12:00:12 +00:00
parent d6ec2665ec
commit f3e9fe66a8

View File

@ -350,6 +350,14 @@ class Doctrine_Pager_Layout
echo $str;
}
/**
* simply calls display, and returns the output.
*/
public function __toString()
{
return $this->display(array(), true);
}
/**
* _parseTemplate