summaryrefslogtreecommitdiff
path: root/lib/phptal/PHPTAL/DefaultKeyword.php
blob: 28d11e24e64d619fe1f518d930461d399525e52c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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;
    }
}
?>