original_string: public function set_page_detail() {
          global $PAGE;
          if (!isset($this->data['other'])) {
              $this->data['other'] = array();
          }
          $this->data['other'] = array_merge(array('url'     => $PAGE->url->out_as_local_url(false),
                                               'heading'     => $PAGE->heading,
                                               'title'       => $PAGE->title), $this->data['other']);
      }
code: public function set_page_detail() {
          global $PAGE;
          if (!isset($this->data['other'])) {
              $this->data['other'] = array();
          }
          $this->data['other'] = array_merge(array('url'     => $PAGE->url->out_as_local_url(false),
                                               'heading'     => $PAGE->heading,
                                               'title'       => $PAGE->title), $this->data['other']);
      }
code_tokens: public function set_page_detail ( ) { global $ PAGE ; if ( ! isset ( $ this -> data [ 'other' ] ) ) { $ this -> data [ 'other' ] = array ( ) ; } $ this -> data [ 'other' ] = array_merge ( array ( 'url' => $ PAGE -> url -> out_as_local_url ( false ) , 'heading' => $ PAGE -> heading , 'title' => $ PAGE -> title ) , $ this -> data [ 'other' ] ) ; }
docstring: Set basic page properties.
docstring_tokens: Set basic page properties .