code: public function setMetaModel($intMetaModel, $intView)
      {
          $this->intMetaModel = $intMetaModel;
          $this->intView      = $intView;
  
          $this->prepareMetaModel();
  
          $this->prepareView();
  
          return $this;
      }
docs: Set MetaModel and render settings.
  
  @param int $intMetaModel The MetaModel to use.
  
  @param int $intView      The render settings to use (if 0, the default will be used).
  
  @return ItemList