public function getViews()
    {
        $config = $this->config;
        $directories = array();
        $dir = $this->directory;
        if (isset($config['app']['views'])) {
            $directoriesTmp = $config['app']['views'];
            if (!is_array($directoriesTmp)) {
                $directoriesTmp = array($directoriesTmp);
            }
            foreach ($directoriesTmp as $directory) {
                $this->addFolder($directories, $dir . '/' . $directory);
            }
        }
        return $directories;
    }
public function getViews()
    {
        $config = $this->config;
        $directories = array();
        $dir = $this->directory;
        if (isset($config['app']['views'])) {
            $directoriesTmp = $config['app']['views'];
            if (!is_array($directoriesTmp)) {
                $directoriesTmp = array($directoriesTmp);
            }
            foreach ($directoriesTmp as $directory) {
                $this->addFolder($directories, $dir . '/' . $directory);
            }
        }
        return $directories;
    }
public function getViews ( ) { $ config = $ this -> config ; $ directories = array ( ) ; $ dir = $ this -> directory ; if ( isset ( $ config [ 'app' ] [ 'views' ] ) ) { $ directoriesTmp = $ config [ 'app' ] [ 'views' ] ; if ( ! is_array ( $ directoriesTmp ) ) { $ directoriesTmp = array ( $ directoriesTmp ) ; } foreach ( $ directoriesTmp as $ directory ) { $ this -> addFolder ( $ directories , $ dir . '/' . $ directory ) ; } } return $ directories ; }
Return folder to find views

@return array
Return folder to find views