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_View |
16 * @package Zend_View |
17 * @subpackage Helper |
17 * @subpackage Helper |
18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @copyright Copyright (c) 2005-2015 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: HtmlElement.php 24593 2012-01-05 20:35:02Z matthew $ |
20 * @version $Id$ |
21 */ |
21 */ |
22 |
22 |
23 /** |
23 /** |
24 * @see Zend_View_Helper_Abstract |
24 * @see Zend_View_Helper_Abstract |
25 */ |
25 */ |
27 |
27 |
28 /** |
28 /** |
29 * @category Zend |
29 * @category Zend |
30 * @package Zend_View |
30 * @package Zend_View |
31 * @subpackage Helper |
31 * @subpackage Helper |
32 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
32 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
33 * @license http://framework.zend.com/license/new-bsd New BSD License |
33 * @license http://framework.zend.com/license/new-bsd New BSD License |
34 */ |
34 */ |
35 abstract class Zend_View_Helper_HtmlElement extends Zend_View_Helper_Abstract |
35 abstract class Zend_View_Helper_HtmlElement extends Zend_View_Helper_Abstract |
36 { |
36 { |
37 /** |
37 /** |
71 */ |
71 */ |
72 protected function _isXhtml() |
72 protected function _isXhtml() |
73 { |
73 { |
74 $doctype = $this->view->doctype(); |
74 $doctype = $this->view->doctype(); |
75 return $doctype->isXhtml(); |
75 return $doctype->isXhtml(); |
|
76 } |
|
77 |
|
78 /** |
|
79 * Is doctype HTML5? |
|
80 * |
|
81 * @return boolean |
|
82 */ |
|
83 protected function _isHtml5() |
|
84 { |
|
85 $doctype = $this->view->doctype(); |
|
86 return $doctype->isHtml5(); |
76 } |
87 } |
77 |
88 |
78 /** |
89 /** |
79 * Is doctype strict? |
90 * Is doctype strict? |
80 * |
91 * |