web/lib/Zend/Config/Writer/Array.php
author Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Tue, 29 Dec 2015 13:32:54 +0100
changeset 1306 3bf82fb656c2
parent 1230 68c69c656a2c
permissions -rw-r--r--
forgot enmi15 in common

<?php
/**
 * Zend Framework
 *
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://framework.zend.com/license/new-bsd
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@zend.com so we can send you a copy immediately.
 *
 * @category   Zend
 * @package    Zend_Config
 * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 * @version    $Id$
 */

/**
 * @see Zend_Config_Writer
 */
require_once 'Zend/Config/Writer/FileAbstract.php';

/**
 * @category   Zend
 * @package    Zend_Config
 * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 */
class Zend_Config_Writer_Array extends Zend_Config_Writer_FileAbstract
{
    /**
     * Render a Zend_Config into a PHP Array config string.
     *
     * @since 1.10
     * @return string
     */
    public function render()
    {
        $data        = $this->_config->toArray();
        $sectionName = $this->_config->getSectionName();

        if (is_string($sectionName)) {
            $data = array($sectionName => $data);
        }

        $arrayString = "<?php\n"
                     . "return " . var_export($data, true) . ";\n";

        return $arrayString;
    }
}
PK}nEjm/ tweet_live-ba206f65d8ef/script/backup/.DS_StoreUT#fTPK}nE&K%9 tweet_live-ba206f65d8ef/script/backup/enmi2010_twitter.dbUT#fTPK}nERk> tweet_live-ba206f65d8ef/script/backup/enmi2010_twitter_rest.dbUT#fTPK}nEzh > otweet_live-ba206f65d8ef/script/backup/export_tweet_enmi2010.dbUT#fTPK}nEY<#4 ǃtweet_live-ba206f65d8ef/script/lib/iri_tweet/LICENSEUT#fTPK}nEtx3 Utweet_live-ba206f65d8ef/script/lib/iri_tweet/READMEUT#fTPK}nEi̵r>B 7tweet_live-ba206f65d8ef/script/lib/iri_tweet/iri_tweet/__init__.pyUT#fTPK}nE )@ "tweet_live-ba206f65d8ef/script/lib/iri_tweet/iri_tweet/models.pyUT#fTPK}nE\)SC tweet_live-ba206f65d8ef/script/lib/iri_tweet/iri_tweet/processor.pyUT#fTPK}nEi6@ Htweet_live-ba206f65d8ef/script/lib/iri_tweet/iri_tweet/stream.pyUT#fTPK}nE'C? tweet_live-ba206f65d8ef/script/lib/iri_tweet/iri_tweet/tests.pyUT#fTPK}nE@Q _-? tweet_live-ba206f65d8ef/script/lib/iri_tweet/iri_tweet/utils.pyUT#fTPK}nE5 tweet_live-ba206f65d8ef/script/lib/iri_tweet/setup.pyUT#fTPK}nE% 5 tweet_live-ba206f65d8ef/script/rest/export_twitter.pyUT#fTPK}nE}5 tweet_live-ba206f65d8ef/script/rest/getscreennames.pyUT#fTPK}nEm;3 tweet_live-ba206f65d8ef/script/rest/process_iri.awkUT#fTPK}nE gz2 Ctweet_live-ba206f65d8ef/script/rest/reinit_iri.awkUT#fTPK}nEtxa5 tweet_live-ba206f65d8ef/script/rest/search_twitter.pyUT#fTPK}nE:x3`8 tweet_live-ba206f65d8ef/script/stream/recorder_stream.pyUT#fTPK}nE2T.8WB  tweet_live-ba206f65d8ef/script/utils/create_twitter_export_conf.pyUT#fTPK}nEӴ$ :,2 2 tweet_live-ba206f65d8ef/script/utils/export_pad.pyUT#fTPK}nE%+7 / tweet_live-ba206f65d8ef/script/utils/export_tweet_db.pyUT#fTPK}nEȆs`> m tweet_live-ba206f65d8ef/script/utils/export_twitter_alchemy.pyUT#fTPK}nE/z1 h/ tweet_live-ba206f65d8ef/script/utils/get_stats.pyUT#fTPK}nE4 1 tweet_live-ba206f65d8ef/script/utils/merge_tweets.pyUT#fTPK}nE!(+<4 7 tweet_live-ba206f65d8ef/script/utils/search_topsy.pyUT#fTPK}nE'B S: @ tweet_live-ba206f65d8ef/script/utils/search_topsy_scrap.pyUT#fTPK}nE|=: J tweet_live-ba206f65d8ef/script/utils/tweet_twitter_user.pyUT#fTPK}nE퐶IC R tweet_live-ba206f65d8ef/script/virtualenv/res/lib/lib_create_env.pyUT#fTPK}nEvJI: ec tweet_live-ba206f65d8ef/script/virtualenv/res/lib/patch.pyUT#fTPK}nE.@@I w tweet_live-ba206f65d8ef/script/virtualenv/res/src/SQLAlchemy-0.9.0.tar.gzUT#fTPK}nE#X F QpJtweet_live-ba206f65d8ef/script/virtualenv/res/src/anyjson-0.3.3.tar.gzUT#fTPK}nE!^hJ'KH UJtweet_live-ba206f65d8ef/script/virtualenv/res/src/blessings-1.5.1.tar.gzUT#fTPK}nEkC