Commit f3e9fe66 authored by pookey's avatar pookey

adding a toString method to pager layout

parent d6ec2665
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment