Changed templateExists() to return int not bool.

This commit is contained in:
Josh Sherman 2010-05-11 00:50:34 -04:00
parent ea6930bc23
commit 4060d1f19b

View file

@ -104,11 +104,11 @@ abstract class Display_Common extends Object
/**
* Template Exists
*
* @return boolean whether or not we have any templates defined
* @return integer the number of templates defined
*/
public function templateExists()
{
return (boolean)count($this->templates);
return count($this->templates);
}
/**