protected function mapIDs($pages)
    {
        $ids = array();
        if ($pages) {
            foreach ($pages as $page) {
                $ids[] = array('ID' => $page->ID, 'ParentID' => $page->ParentID);
            }
        }
        return $ids;
    }
protected function mapIDs($pages)
    {
        $ids = array();
        if ($pages) {
            foreach ($pages as $page) {
                $ids[] = array('ID' => $page->ID, 'ParentID' => $page->ParentID);
            }
        }
        return $ids;
    }
protected function mapIDs ( $ pages ) { $ ids = array ( ) ; if ( $ pages ) { foreach ( $ pages as $ page ) { $ ids [ ] = array ( 'ID' => $ page -> ID , 'ParentID' => $ page -> ParentID ) ; } } return $ ids ; }
Maps a list of pages to an array of associative arrays with ID and ParentID keys

@param SS_List $pages
@return array
Maps a list of pages to an array of associative arrays with ID and ParentID keys