equal
deleted
inserted
replaced
13 * to license@zend.com so we can send you a copy immediately. |
13 * to license@zend.com so we can send you a copy immediately. |
14 * |
14 * |
15 * @category Zend |
15 * @category Zend |
16 * @package Zend_Markup |
16 * @package Zend_Markup |
17 * @subpackage Parser |
17 * @subpackage Parser |
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
20 * @version $Id: Token.php 20277 2010-01-14 14:17:12Z kokx $ |
20 * @version $Id: Token.php 24593 2012-01-05 20:35:02Z matthew $ |
21 */ |
21 */ |
22 |
22 |
23 /** |
23 /** |
24 * @see Zend_Markup_TokenList |
24 * @see Zend_Markup_TokenList |
25 */ |
25 */ |
26 require_once 'Zend/Markup/TokenList.php'; |
26 require_once 'Zend/Markup/TokenList.php'; |
27 |
27 |
28 /** |
28 /** |
29 * @category Zend |
29 * @category Zend |
30 * @package Zend_Markup |
30 * @package Zend_Markup |
31 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
31 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
32 * @license http://framework.zend.com/license/new-bsd New BSD License |
32 * @license http://framework.zend.com/license/new-bsd New BSD License |
33 */ |
33 */ |
34 class Zend_Markup_Token |
34 class Zend_Markup_Token |
35 { |
35 { |
36 const TYPE_NONE = 'none'; |
36 const TYPE_NONE = 'none'; |
258 $this->setChildren(new Zend_Markup_TokenList()); |
258 $this->setChildren(new Zend_Markup_TokenList()); |
259 } |
259 } |
260 return $this->_children; |
260 return $this->_children; |
261 } |
261 } |
262 |
262 |
263 /** |
263 /** |
264 * Does this token have any children |
264 * Does this token have any children |
265 * |
265 * |
266 * @return bool |
266 * @return bool |
267 */ |
267 */ |
268 public function hasChildren() |
268 public function hasChildren() |