original_string: public static function get(lesson $lesson) {
          static $pagetypemanager;
          if (!($pagetypemanager instanceof lesson_page_type_manager)) {
              $pagetypemanager = new lesson_page_type_manager();
              $pagetypemanager->load_lesson_types($lesson);
          }
          return $pagetypemanager;
      }
code: public static function get(lesson $lesson) {
          static $pagetypemanager;
          if (!($pagetypemanager instanceof lesson_page_type_manager)) {
              $pagetypemanager = new lesson_page_type_manager();
              $pagetypemanager->load_lesson_types($lesson);
          }
          return $pagetypemanager;
      }
code_tokens: public static function get ( lesson $ lesson ) { static $ pagetypemanager ; if ( ! ( $ pagetypemanager instanceof lesson_page_type_manager ) ) { $ pagetypemanager = new lesson_page_type_manager ( ) ; $ pagetypemanager -> load_lesson_types ( $ lesson ) ; } return $ pagetypemanager ; }
docstring: Retrieves the lesson page type manager object
  
  If the object hasn't yet been created it is created here.
  
  @staticvar lesson_page_type_manager $pagetypemanager
  @param lesson $lesson
  @return lesson_page_type_manager
docstring_tokens: Retrieves the lesson page type manager object