code: public function getOutputFormat()
      {
          if (isset($this->strOutputFormat)) {
              return $this->strOutputFormat;
          }
  
          if (isset($this->objView) && $this->objView->get('format')) {
              return $this->objView->get('format');
          }
  
          $page = $this->getPage();
  
          if ($page && $page->outputFormat) {
              return $page->outputFormat;
          }
  
          return 'text';
      }
docs: Retrieve the output format used by this list.
  
  @return string