File indexing completed on 2024-12-22 05:36:17

0001 <?php
0002 
0003 /**
0004  * Zend_Layout_View_Helper_HeadMeta
0005  *
0006  * @see        http://www.w3.org/TR/xhtml1/dtds.html
0007  * @uses       Zend_View_Helper_Placeholder_Container_Standalone
0008  * @package    Zend_View
0009  * @subpackage Helper
0010  * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
0011  * @license    http://framework.zend.com/license/new-bsd     New BSD License
0012  */
0013 class CB_View_Helper_HeadMeta extends Zend_View_Helper_HeadMeta
0014 {
0015     /**
0016      * Determine if item is valid
0017      *
0018      * @param  mixed $item
0019      * @return boolean
0020      */
0021     protected function _isValid($item)
0022     {
0023   $result = parent::_isValid($item);
0024   
0025         if (!$result && $item->type === 'property') {
0026             $result = true;
0027         }
0028 
0029         return $result;
0030     }
0031 }