Return zend-view helper configuration.

@return array
196022
public function getViewHelperConfig()
    {
        return [
            'aliases' => [
                'losrecaptcha/recaptcha'  => Form\View\Helper\Captcha\ReCaptcha::class,
                'losrecaptcha/invisible'  => Form\View\Helper\Captcha\Invisible::class,
            ],
            'factories' => [
                Form\View\Helper\Captcha\ReCaptcha::class => InvokableFactory::class,
                Form\View\Helper\Captcha\Invisible::class => InvokableFactory::class,
            ],
        ];
    }
1178785
public function getViewHelperConfig()
    {
        return array(
            'factories' => array(
                'calendar' => function ($vhm) {
                    $helper = new \BmCalendar\View\Helper\Calendar();

                    $helper->setRenderer(new \BmCalendar\Renderer\HtmlCalendar());

                    return $helper;
                }
            ),
        );
    }
231815
private function allDefaults()
    {
        return [
            'wrapper' => ['class' => $this->formHelper->getConfig('defaults.wrapper_class')],
            'attr' => ['class' => $this->formHelper->getConfig('defaults.field_class')],
            'help_block' => ['text' => null, 'tag' => 'p', 'attr' => [
                'class' => $this->formHelper->getConfig('defaults.help_block_class')
            ]],
            'value' => null,
            'default_value' => null,
            'label' => $this->formHelper->formatLabel($this->getRealName()),
            'is_child' => false,
            'label_attr' => ['class' => $this->formHelper->getConfig('defaults.label_class')],
            'errors' => ['class' => $this->formHelper->getConfig('defaults.error_class')]
        ];
    }
1181741
protected function getDefaultServiceParams()
    {
        return array('XMLServiceLib'     => $this->getConfigValue('system', 'XMLServiceLib', 'ZENDSVR6'),
            'HelperLib'         => $this->getConfigValue('system', 'HelperLib', 'ZENDSVR6'),
            'debug'             => $this->getConfigValue('system', 'debug', false),
            'debugLogFile'      => $this->getConfigValue('system', 'debugLogFile', false),
            'encoding'          => $this->getConfigValue('system', 'encoding', 'ISO-8859-1'),
            'parseOnly'         => $this->getConfigValue('testing', 'parse_only', false),
            'parseDebugLevel'   => $this->getConfigValue('testing', 'parse_debug_level', null));
    }
1024610
public function getServices()
	{
		$this->_zendAmfServer = ZendAmfServiceBrowser::$ZEND_AMF_SERVER;
		
		$methods = $this->_zendAmfServer->getFunctions();

		$methodsTable = '<methods>';
		foreach ($methods as $method => $value)
		{
			
			$functionReflection = $methods[ $method ];
			
			$parameters = $functionReflection->getParameters();
			
			$methodsTable = $methodsTable . "<method name='$method'>";
			
			foreach ($parameters as $param)
			{
				$methodsTable = $methodsTable . "<param name='$param->name'/>";
			}
			
			$methodsTable = $methodsTable . "</method>";
		}
		
		$methodsTable = $methodsTable . '</methods>';
		
		unset( $methods );
		return $methodsTable;
	}
614101
public function getConfig()
    {
        return [
            'service_manager'    => [
                'aliases'   => [
                    'ModuleRouteListener' => ModuleRouteListener::class
                ],
                'factories' => [
                    ModuleRouteListener::class                   => InvokableFactory::class,
                    Listener\ApplicationBootstrapListener::class => InvokableFactory::class,
                    Listener\ErrorLoggerListener::class          => InvokableFactory::class,
                    Listener\RouteTrailingSlashListener::class   => InvokableFactory::class,
                    Listener\SetupRouterBaseUrl::class           => InvokableFactory::class
                ]
            ],
            'controller_plugins' => [
                'aliases'   => [
                    'config'    => Controller\Plugin\Config::class,
                    'Config'    => Controller\Plugin\Config::class,
                    'flashdata' => Controller\Plugin\FlashData::class,
                    'flashData' => Controller\Plugin\FlashData::class,
                    'FlashData' => Controller\Plugin\FlashData::class,
                    'htmlclass' => Controller\Plugin\HtmlClass::class,
                    'htmlClass' => Controller\Plugin\HtmlClass::class,
                    'HtmlClass' => Controller\Plugin\HtmlClass::class,
                    'log'       => Controller\Plugin\Log::class,
                    'Log'       => Controller\Plugin\Log::class,
                    'redirect'  => Controller\Plugin\Redirect::class,
                    'Redirect'  => Controller\Plugin\Redirect::class,
                    'headtitle' => Controller\Plugin\Title::class,
                    'headTitle' => Controller\Plugin\Title::class,
                    'HeadTitle' => Controller\Plugin\Title::class,
                    'title'     => Controller\Plugin\Title::class,
                    'Title'     => Controller\Plugin\Title::class,
                    'url'       => Controller\Plugin\Url::class,
                    'Url'       => Controller\Plugin\Url::class
                ],
                'factories' => [
                    Controller\Plugin\Config::class    => function(ContainerInterface $container) {
                        return new  Controller\Plugin\Config($container->get('Config'));
                    },
                    Controller\Plugin\FlashData::class => InvokableFactory::class,
                    Controller\Plugin\HtmlClass::class => InvokableFactory::class,
                    Controller\Plugin\Log::class       => InvokableFactory::class,
                    Controller\Plugin\Redirect::class  => InvokableFactory::class,
                    Controller\Plugin\Title::class     => InvokableFactory::class,
                    Controller\Plugin\Url::class       => InvokableFactory::class
                ]
            ],
            'listeners'          => [
                ModuleRouteListener::class                 => ModuleRouteListener::class,
                Listener\ErrorLoggerListener::class        => Listener\ErrorLoggerListener::class,
                Listener\RouteTrailingSlashListener::class => Listener\RouteTrailingSlashListener::class,
                Listener\SetupRouterBaseUrl::class         => Listener\RouteTrailingSlashListener::class
            ]
        ];
    }
547221
public static function getTemplateConfig()
	{
		if (self::$_templateConfig === 0) {
			$request = Agl::getRequest();
			$module  = $request->getModule();
			$view    = $request->getView();
			$action  = $request->getAction();

			self::$_templateConfig = Agl::app()->getConfig('core-layout/modules/' . $module . '#' . $view . '#action#' . $action . '/template');

			if (self::$_templateConfig === NULL) {
			    self::$_templateConfig = Agl::app()->getConfig('core-layout/modules/' . $module . '#' . $view . '/template');
			}

			if (self::$_templateConfig === NULL) {
			    self::$_templateConfig = Agl::app()->getConfig('core-layout/modules/' . $module . '/template');
			}

			if (self::$_templateConfig === NULL) {
				self::$_templateConfig = Agl::app()->getConfig('core-layout/template');
			}
		}

		if (! isset(self::$_templateConfig['type'])) {
			self::$_templateConfig['type'] = ViewInterface::TYPE_HTML;
		}

		return self::$_templateConfig;
	}
364640
public function getConfigurationOverrides()
	{
		if ($this->overrides) {
			return $this->overrides;
		}

		return $this->overrides = $this->container['config.universal_loader']->load($this->getSupraRoot().'/config.yml'); //@todo: resolve config per environment

	}
1292327
public function getViewHelperConfig()
    {
        return array(
            'invokables'            => array(
                'layout'                    => 'Zork\View\Helper\Layout',
                'messenger'                 => 'Zork\View\Helper\Messenger',
                'htmlTag'                   => 'Zork\View\Helper\HtmlTag',
                'headTitle'                 => 'Zork\View\Helper\HeadTitle',
                'openGraph'                 => 'Zork\View\Helper\OpenGraph',
                'escapeCss'                 => 'Zork\View\Helper\EscapeCss',
                'escapeHtml'                => 'Zork\View\Helper\EscapeHtml',
                'escapeHtmlAttr'            => 'Zork\View\Helper\EscapeHtmlAttr',
                'escapeJs'                  => 'Zork\View\Helper\EscapeJs',
                'escapeUrl'                 => 'Zork\View\Helper\EscapeUrl',
                'date'                      => 'Zork\I18n\View\Helper\Date',
                'dateTime'                  => 'Zork\I18n\View\Helper\DateTime',
                'relativeTime'              => 'Zork\I18n\View\Helper\RelativeTime',
                'form'                      => 'Zork\Form\View\Helper\Form',
                'formRadio'                 => 'Zork\Form\View\Helper\FormRadio',
                'formSelect'                => 'Zork\Form\View\Helper\FormSelect',
                'formCheckbox'              => 'Zork\Form\View\Helper\FormCheckbox',
                'formPassword'              => 'Zork\Form\View\Helper\FormPassword',
                'formRadioGroup'            => 'Zork\Form\View\Helper\FormRadioGroup',
                'formElement'               => 'Zork\Form\View\Helper\FormElement',
                'formFieldset'              => 'Zork\Form\View\Helper\FormFieldset',
                'formCollection'            => 'Zork\Form\View\Helper\FormCollection',
                'formMultiCheckbox'         => 'Zork\Form\View\Helper\FormMultiCheckbox',
                'formMultiCheckboxGroup'    => 'Zork\Form\View\Helper\FormMultiCheckboxGroup',
                'captcha/regeneratable'     => 'Zork\Form\View\Helper\Captcha\Regeneratable',
                'markdown'                  => 'Grid\Core\View\Helper\Markdown',
            ),
            'aliases'               => array(
                'Zend\Session\SessionManager'   => 'sessionManager',
                'Zend\Session\ManagerInterface' => 'sessionManager',
            ),
            'factories'             => array(
                'sessionManager'    => array( $this, 'getSessionManager' ),
                'config'            => array( $this, 'getConfigViewHelper' ),
                'domain'            => array( $this, 'getDomainViewHelper' ),
                'locale'            => array( $this, 'getLocaleViewHelper' ),
                'adminLocale'       => array( $this, 'getAdminLocaleViewHelper' ),
                'appService'        => array( $this, 'getAppServiceViewHelper' ),
                'authentication'    => array( $this, 'getAuthenticationViewHelper' ),
                'viewWidget'        => array( $this, 'getViewWidgetViewHelper' ),
                'isModuleLoaded'    => array( $this, 'getIsModuleLoadedViewHelper' ),
                'siteInfo'          => array( $this, 'getSiteInfoViewHelper' ),
                'uploads'           => array( $this, 'getUploadsViewHelper' ),
                'rowSet'            => array( $this, 'getRowSetViewHelper' ),
                'beforeContentWidget' => array( $this, 'getBeforeContentWidgetViewHelper' ),
            ),
        );
    }
340668
public function getConfig()
    {
        $this->_library->setEnvironment();
        
        $config = [
            'library' => [
                'session' => $this->_library->getSession(),
                'directPaymentJs' => $this->_library->getDirectPaymentUrl()
            ],
            'brazilFlagPath' => $this->_library->getImageUrl('UOL_PagSeguro::images/flag-origin-country.png'),
            'payment' => [
                'pagseguro' => [
                    'isDirect'   => $this->method->isDirectCheckout(),
                    'isLightbox' => $this->method->isLightboxCheckoutType(),
                    'checkout'   => [
                        'lightbox' => $this->method->getLightboxCheckoutPaymentUrl(),
                        'standard' => $this->method->getStandardCheckoutPaymentUrl(),
                        'direct'   => $this->method->getDirectCheckoutPaymentUrl()
                    ]
                ]
            ],
            'pagseguro_boleto' => $this->boletoMethod->getStandardCheckoutPaymentUrl(),
        ];
        return $config;
    }
84790
private function getSettings()
    {
        $rootPath = $this->complement['path']['root'];
        $configFile = $rootPath . 'config/';

        if (is_dir($configFile) && $handle = scandir($configFile)) {
            $files = array_slice($handle, 2);

            foreach ($files as $file) {
                $content = require $configFile . $file;
                $merge = array_merge($this->complement, $content);
                $this->complement = $merge;
            }
        }

        $this->complement['path']['root'] = $rootPath;
        $this->complement['path']['config'] = $configFile;
    }
1122136
public function get_builder_config() {
		$vars = Arr::except( get_object_vars( $this ),
			[ 'sections', 'containers', 'properties', 'builder', '_form' ]
		);

		return array_merge( $vars, $this->properties );
	}
459060
private function getConfiguration()
    {
        return array_merge(
            [
                'fileMimeTypeField' => false,
                'fileNameField'     => false,
                'filePathField'     => false,
                'fileSizeField'     => false,
            ],
            $this->classMetadata->getExtension(UploadableDriver::EXTENSION_NAME),
            [
                'uploadable'        => true,
                'allowOverwrite'    => $this->allowOverwrite,
                'appendNumber'      => $this->appendNumber,
                'path'              => $this->path,
                'pathMethod'        => $this->pathMethod,
                'callback'          => $this->callback,
                'filenameGenerator' => $this->filenameGenerator,
                'maxSize'           => (float) $this->maxSize,
                'allowedTypes'      => $this->allowedTypes,
                'disallowedTypes'   => $this->disallowedTypes,
            ]
        );
    }
1300062
public function getAutoloaderConfig()
    {
        $autoloaderArray = array();

        // If this module has a defined classmap, add a classmap autoloader.
        $classmapPath = $this->getDir() . '/' . $this->relativeModuleDir . 'autoload_classmap.php';
        if (file_exists($classmapPath)) {
            $autoloaderArray['Zend\Loader\ClassMapAutoloader'] = array(
                $classmapPath
            );
        }

        // Fallback to a PSR-0 autoloader.
        $autoloaderArray['Zend\Loader\StandardAutoloader'] = array(
            'namespaces' => array(
                $this->getNamespace() =>
                    $this->getDir() . '/' . $this->relativeModuleDir . 'src/' . $this->getNamespace(),
            ),
        );

        return $autoloaderArray;
    }
819677
public function getConfig()
    {
        $config = [];
        foreach ($this->providers as $key => $provider) {
            $config[$key] = $provider->getConfig();
        }

        return $config;
    }
262875
public function autocompleteViewVars()
    {
        if (!$this->parent) {
            return [];
        }

        $parent_controller = new $this->parent_controller;

        return [
            'parent_id' => $this->parent->getKey(),
            'parent_controller' => $this->parent_controller,
            'parent_controller_title' => $parent_controller->title(),
            'parent_controller_description' => $parent_controller->description(),
            'many_to_many' => $this->isChildInManyToMany(),
        ];
    }
887859
public function get_config()
	{
    $this->update();
		$tmp = bbn\x::remove_empty($this->cfg);
    if ( isset($tmp['content']) && \is_array($tmp['content']) ){
      foreach ( $tmp['content'] as $i => $c ){
        if ( \is_object($c) ){
          if (method_exists($c, 'get_config') ){
            $tmp['content'][$i] = $c->get_config();
          }
        }
      }
    }
    return $tmp;
	}