public function getFields()
 {
     $diplayed_fields_presenter = array();
     $displayed_fields = $this->card_fields->getFields($this->getArtifact());
     foreach ($displayed_fields as $displayed_field) {
         $diplayed_fields_presenter[] = new Cardwall_CardFieldPresenter($displayed_field, $this->artifact, $this->display_preferences);
     }
     return $diplayed_fields_presenter;
 }
Example #2
0
 public function getFields()
 {
     return $this->card_fields->getFields($this->artifact);
 }