コード例 #1
0
 function __construct($id, $oGig, $writable = true, $showDetailsButton = false)
 {
     $oGig->writable = $writable;
     $oGig->showDetailsButton = $showDetailsButton;
     parent::__construct($id, 'Gig: ' . $oGig->name, 'gig/widgets/gig_details', ['oGig' => $oGig]);
     $this->icon = 'fa-bullhorn';
 }
コード例 #2
0
 function __construct($id, $oPerson, $writable = true, $showDetailsButton = false)
 {
     $oPerson->writable = $writable;
     $oPerson->showDetailsButton = $showDetailsButton;
     parent::__construct($id, 'Person: ' . $oPerson->firstname . ' ' . $oPerson->lastname, 'person/widgets/person_details', ['oPerson' => $oPerson]);
     $this->icon = 'fa-user';
 }
コード例 #3
0
 function __construct($id, $oBand, $writable = true, $showDetailsButton = false)
 {
     $oBand->writable = $writable;
     $oBand->showDetailsButton = $showDetailsButton;
     parent::__construct($id, 'Band: ' . $oBand->name, 'band/widgets/band_details', ['oBand' => $oBand]);
     $this->icon = 'fa-music';
 }
コード例 #4
0
 function __construct($id, $oVenue, $writable = true, $showDetailsButton = false)
 {
     $oVenue->writable = $writable;
     $oVenue->showDetailsButton = $showDetailsButton;
     parent::__construct($id, 'Venue: ' . $oVenue->name, 'venue/widgets/venue_details', ['oVenue' => $oVenue]);
     $this->icon = 'fa-globe';
 }
コード例 #5
0
 /**
  * @return array
  */
 public function getData()
 {
     $this->viewData = $this->_tableHelper->getTableOptions();
     return parent::getData();
 }