original_string: public function parentStack() {
          $p=$this->owner;
          
          while($p) {
              $stack[]=$p;
              if($p->FolderID && $p->FolderID>0) {
                  $folder=$p->Folder();
                  if(!empty($folder) && $folder!==false && $folder->ID!=0) {
                      $p=$folder;
                  }
              }else {
                  $p=$p->LanguageID ? $p->Language() : null;
              }
          }
          
          return $stack;
      }
code: public function parentStack() {
          $p=$this->owner;
          
          while($p) {
              $stack[]=$p;
              if($p->FolderID && $p->FolderID>0) {
                  $folder=$p->Folder();
                  if(!empty($folder) && $folder!==false && $folder->ID!=0) {
                      $p=$folder;
                  }
              }else {
                  $p=$p->LanguageID ? $p->Language() : null;
              }
          }
          
          return $stack;
      }
code_tokens: public function parentStack ( ) { $ p = $ this -> owner ; while ( $ p ) { $ stack [ ] = $ p ; if ( $ p -> FolderID && $ p -> FolderID > 0 ) { $ folder = $ p -> Folder ( ) ; if ( ! empty ( $ folder ) && $ folder !== false && $ folder -> ID != 0 ) { $ p = $ folder ; } } else { $ p = $ p -> LanguageID ? $ p -> Language ( ) : null ; } } return $ stack ; }
docstring: Return an array of this page and its ancestors, ordered item -> root.
  @return array
docstring_tokens: Return an array of this page and its ancestors ordered item - > root .