public function getLibraries()
    {
        $config = \Altamira\Config::getInstance();
        $libraryToPath = array(
                \Altamira\JsWriter\Flot::LIBRARY    =>    $config['js.flotlib'],
                \Altamira\JsWriter\JqPlot::LIBRARY  =>    $config['js.jqplotlib']
                );
        $libraryKeys = array_unique( array_keys( $this->libraries ) );
        $libraryPaths = array();
        
        foreach ($libraryKeys as $key) {
            $libraryPaths[] = $libraryToPath[$key];
        }
        
        return $libraryPaths;
    }
public function getLibraries()
    {
        $config = \Altamira\Config::getInstance();
        $libraryToPath = array(
                \Altamira\JsWriter\Flot::LIBRARY    =>    $config['js.flotlib'],
                \Altamira\JsWriter\JqPlot::LIBRARY  =>    $config['js.jqplotlib']
                );
        $libraryKeys = array_unique( array_keys( $this->libraries ) );
        $libraryPaths = array();
        
        foreach ($libraryKeys as $key) {
            $libraryPaths[] = $libraryToPath[$key];
        }
        
        return $libraryPaths;
    }
public function getLibraries ( ) { $ config = \ Altamira \ Config :: getInstance ( ) ; $ libraryToPath = array ( \ Altamira \ JsWriter \ Flot :: LIBRARY => $ config [ 'js.flotlib' ] , \ Altamira \ JsWriter \ JqPlot :: LIBRARY => $ config [ 'js.jqplotlib' ] ) ; $ libraryKeys = array_unique ( array_keys ( $ this -> libraries ) ) ; $ libraryPaths = array ( ) ; foreach ( $ libraryKeys as $ key ) { $ libraryPaths [ ] = $ libraryToPath [ $ key ] ; } return $ libraryPaths ; }
Provides libraries paths based on config values
@return array
Provides libraries paths based on config values