original_string: public function navigation($courseorid, $page) {
          $tabs = core_completion\manager::get_available_completion_tabs($courseorid);
          if (count($tabs) > 1) {
              return $this->tabtree($tabs, $page);
          } else {
              return '';
          }
      }
code: public function navigation($courseorid, $page) {
          $tabs = core_completion\manager::get_available_completion_tabs($courseorid);
          if (count($tabs) > 1) {
              return $this->tabtree($tabs, $page);
          } else {
              return '';
          }
      }
code_tokens: public function navigation ( $ courseorid , $ page ) { $ tabs = core_completion \ manager :: get_available_completion_tabs ( $ courseorid ) ; if ( count ( $ tabs ) > 1 ) { return $ this -> tabtree ( $ tabs , $ page ) ; } else { return '' ; } }
docstring: Render the navigation tabs for the completion page.
  
  @param int|stdClass $courseorid the course object or id.
  @param String $page the tab to focus.
  @return string html
docstring_tokens: Render the navigation tabs for the completion page .