Source for file dispatcher.php
Documentation is available at dispatcher.php
 *  @package     FrameworkOnFramework  
 *  @copyright   Copyright (c)2010-2012 Nicholas K. Dionysopoulos  
 *  @license     GNU General Public License version 2, or later  
 * Configuration parser for the dispatcher-specific settings  
 * @package  FrameworkOnFramework  
     * Parse the XML data, adding them to the $ret array  
     * @param   SimpleXMLElement  $xml   The XML data of the component's configuration area  
     * @param   array             &$ret  The parsed data, in the form of a hash array  
    public function parseDomain(SimpleXMLElement $xml, array &$ret)  
        $ret['dispatcher'] = 
array();  
        // Parse the dispatcher configuration  
        $dispatcherData = 
$xml->dispatcher;  
        if (empty($dispatcherData))  
        $options = 
$xml->xpath('dispatcher/option');  
            foreach ($options as $option)  
                $key = (string) 
$option['name'];  
                $ret['dispatcher'][$key] = (string) 
$option;  
     * Return a configuration variable  
     * @param   string  &$configuration  Configuration variables (hashed array)  
     * @param   string  $var             The variable we want to fetch  
     * @param   mixed   $default         Default value  
     * @return  mixed  The variable's value  
    public function get(&$configuration, $var, $default)  
        if (isset
($configuration['dispatcher'][$var]))  
            return $configuration['dispatcher'][$var];  
 
 
	
		Documentation generated on Tue, 19 Nov 2013 15:01:31 +0100 by phpDocumentor 1.4.3