diff options
Diffstat (limited to 'lib/phptal/PHPTAL/DefaultKeyword.php')
-rw-r--r-- | lib/phptal/PHPTAL/DefaultKeyword.php | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/lib/phptal/PHPTAL/DefaultKeyword.php b/lib/phptal/PHPTAL/DefaultKeyword.php new file mode 100644 index 0000000..28d11e2 --- /dev/null +++ b/lib/phptal/PHPTAL/DefaultKeyword.php @@ -0,0 +1,39 @@ +<?php +/** + * PHPTAL templating engine + * + * PHP Version 5 + * + * @category HTML + * @package PHPTAL + * @author Andrew Crites <explosion-pills@aysites.com> + * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License + * @version SVN: $Id$ + * @link http://phptal.org/ + */ + + +/** + * Representation of the template 'default' keyword + * + * @package PHPTAL + * @subpackage Keywords + */ +class PHPTAL_DefaultKeyword implements Countable +{ + public function __toString() + { + return "''"; + } + + public function count() + { + return 1; + } + + public function jsonSerialize() + { + return new stdClass; + } +} +?> |