original_string: public function get_collectionlabel() {
          if (!empty($this->collectionlabel)) {
              return $this->collectionlabel;
          }
          if ($this->parent && ($this->parent instanceof flat_navigation_node || $this->parent instanceof flat_navigation)) {
              return $this->parent->get_collectionlabel();
          }
          debugging('Navigation region requires a label', DEBUG_DEVELOPER);
          return '';
      }
code: public function get_collectionlabel() {
          if (!empty($this->collectionlabel)) {
              return $this->collectionlabel;
          }
          if ($this->parent && ($this->parent instanceof flat_navigation_node || $this->parent instanceof flat_navigation)) {
              return $this->parent->get_collectionlabel();
          }
          debugging('Navigation region requires a label', DEBUG_DEVELOPER);
          return '';
      }
code_tokens: public function get_collectionlabel ( ) { if ( ! empty ( $ this -> collectionlabel ) ) { return $ this -> collectionlabel ; } if ( $ this -> parent && ( $ this -> parent instanceof flat_navigation_node || $ this -> parent instanceof flat_navigation ) ) { return $ this -> parent -> get_collectionlabel ( ) ; } debugging ( 'Navigation region requires a label' , DEBUG_DEVELOPER ) ; return '' ; }
docstring: Getter, get the label for this flat_navigation node, or it's parent if it doesn't have one.
  
  @return string
docstring_tokens: Getter get the label for this flat_navigation node or it s parent if it doesn t have one .