public function pagesFlatView()
    {
        $pages = PageManager::fetch(false, array('id'));

        foreach ($pages as &$p) {
            $p['title'] = PageManager::resolvePageTitle($p['id']);
        }

        return $pages;
    }
public function pagesFlatView()
    {
        $pages = PageManager::fetch(false, array('id'));

        foreach ($pages as &$p) {
            $p['title'] = PageManager::resolvePageTitle($p['id']);
        }

        return $pages;
    }
public function pagesFlatView ( ) { $ pages = PageManager :: fetch ( false , array ( 'id' ) ) ; foreach ( $ pages as & $ p ) { $ p [ 'title' ] = PageManager :: resolvePageTitle ( $ p [ 'id' ] ) ; } return $ pages ; }
This function creates an array of all page titles in the system.

@return array
An array of page titles
This function creates an array of all page titles in the system .