original_string: public function id($var = null)
      {
          if ($var !== null) {
              // store unique per language
              $active_lang = Grav::instance()['language']->getLanguage() ?: '';
              $id = $active_lang . $var;
              $this->id = $id;
          }
  
          return $this->id;
      }
code: public function id($var = null)
      {
          if ($var !== null) {
              // store unique per language
              $active_lang = Grav::instance()['language']->getLanguage() ?: '';
              $id = $active_lang . $var;
              $this->id = $id;
          }
  
          return $this->id;
      }
code_tokens: public function id ( $ var = null ) { if ( $ var !== null ) { // store unique per language $ active_lang = Grav :: instance ( ) [ 'language' ] -> getLanguage ( ) ? : '' ; $ id = $ active_lang . $ var ; $ this -> id = $ id ; } return $ this -> id ; }
docstring: Gets and sets the identifier for this Page object.
  
  @param  string $var the identifier
  
  @return string      the identifier
docstring_tokens: Gets and sets the identifier for this Page object .