public function load_all_pages() {
        if (!$this->loadedallpages) {
            $manager = lesson_page_type_manager::get($this);
            $this->pages = $manager->load_all_pages($this);
            $this->loadedallpages = true;
        }
        return $this->pages;
    }
public function load_all_pages() {
        if (!$this->loadedallpages) {
            $manager = lesson_page_type_manager::get($this);
            $this->pages = $manager->load_all_pages($this);
            $this->loadedallpages = true;
        }
        return $this->pages;
    }
public function load_all_pages ( ) { if ( ! $ this -> loadedallpages ) { $ manager = lesson_page_type_manager :: get ( $ this ) ; $ this -> pages = $ manager -> load_all_pages ( $ this ) ; $ this -> loadedallpages = true ; } return $ this -> pages ; }
Loads ALL of the pages for this lesson

@return array An array containing all pages from this lesson
Loads ALL of the pages for this lesson