kirby/branches/multilang/page.php
/**
   * Returns the root for the content file
   *
   * @return string
   */
Returns the root for the content file
@return string
Returns the root for the content file @return string
public function textfile($template = null, $lang = null) {
    if(is_null($template)) $template = $this->intendedTemplate();
    if(is_null($lang))     $lang     = $this->site->language->code;
    return textfile($this->diruri(), $template, $lang);
  }
public function textfile ( $ template = null , $ lang = null ) { if ( is_null ( $ template ) ) $ template = $ this -> intendedTemplate ( ) ; if ( is_null ( $ lang ) ) $ lang = $ this -> site -> language -> code ; return textfile ( $ this -> diruri ( ) , $ template , $ lang ) ; }
Returns the root for the content file
 @return string
Returns the root for the content file @return string