original_string: public function get_parent_context_ids($includeself = false) {
          if (empty($this->_path)) {
              return array();
          }
  
          $parentcontexts = trim($this->_path, '/'); // kill leading slash
          $parentcontexts = explode('/', $parentcontexts);
          if (!$includeself) {
              array_pop($parentcontexts); // and remove its own id
          }
  
          return array_reverse($parentcontexts);
      }
code: public function get_parent_context_ids($includeself = false) {
          if (empty($this->_path)) {
              return array();
          }
  
          $parentcontexts = trim($this->_path, '/'); // kill leading slash
          $parentcontexts = explode('/', $parentcontexts);
          if (!$includeself) {
              array_pop($parentcontexts); // and remove its own id
          }
  
          return array_reverse($parentcontexts);
      }
code_tokens: public function get_parent_context_ids ( $ includeself = false ) { if ( empty ( $ this -> _path ) ) { return array ( ) ; } $ parentcontexts = trim ( $ this -> _path , '/' ) ; // kill leading slash $ parentcontexts = explode ( '/' , $ parentcontexts ) ; if ( ! $ includeself ) { array_pop ( $ parentcontexts ) ; // and remove its own id } return array_reverse ( $ parentcontexts ) ; }
docstring: Returns parent context ids of this context in reversed order, i.e. parent first,
  then grand parent, etc.
  
  @param bool $includeself true means include self too
  @return array of context ids
docstring_tokens: Returns parent context ids of this context in reversed order i . e . parent first then grand parent etc .