public static function importArray(array $data, $format = 'atom')
    {
        $obj = 'Zend_Feed_' . ucfirst(strtolower($format));
        /**
         * @see Zend_Loader
         */
        require_once 'Zend/Loader.php';
        Zend_Loader::loadClass($obj);
        /**
         * @see Zend_Feed_Builder
         */
        require_once 'Zend/Feed/Builder.php';
        return new $obj(null, null, new Zend_Feed_Builder($data));
    }
public static function importArray(array $data, $format = 'atom')
    {
        $obj = 'Zend_Feed_' . ucfirst(strtolower($format));
        /**
         * @see Zend_Loader
         */
        require_once 'Zend/Loader.php';
        Zend_Loader::loadClass($obj);
        /**
         * @see Zend_Feed_Builder
         */
        require_once 'Zend/Feed/Builder.php';
        return new $obj(null, null, new Zend_Feed_Builder($data));
    }
public static function importArray ( array $ data , $ format = 'atom' ) { $ obj = 'Zend_Feed_' . ucfirst ( strtolower ( $ format ) ) ; /**
         * @see Zend_Loader
         */ require_once 'Zend/Loader.php' ; Zend_Loader :: loadClass ( $ obj ) ; /**
         * @see Zend_Feed_Builder
         */ require_once 'Zend/Feed/Builder.php' ; return new $ obj ( null , null , new Zend_Feed_Builder ( $ data ) ) ; }
Construct a new Zend_Feed_Abstract object from a custom array

@param  array  $data
@param  string $format (rss|atom) the requested output format
@return Zend_Feed_Abstract
Construct a new Zend_Feed_Abstract object from a custom array