示例#1
0
 public function __construct(\Icybee\ManageBlock $manager, $id, array $options = [])
 {
     parent::__construct($manager, $id, $options + ['filters' => ['options' => ['=1' => "Excluded from home", '=0' => "Included in home"]], 'cell_renderer' => __NAMESPACE__ . '\\IsHomeExcludedCellRenderer']);
 }
示例#2
0
 public function __construct(\Icybee\ManageBlock $manager, $id, array $options = array())
 {
     parent::__construct($manager, $id, $options + array('title' => null, 'filters' => array('options' => array('=1' => 'Excluded from navigation', '=0' => 'Included in navigation')), 'sortable' => false));
 }
示例#3
0
 public function __construct(\Icybee\ManageBlock $manager, $id, array $options = [])
 {
     parent::__construct($manager, $id, $options + ['filters' => ['options' => ['=1' => 'Online', '=0' => 'Offline']], 'cell_renderer' => __NAMESPACE__ . '\\IsOnlineCellRenderer']);
 }
示例#4
0
 public function render_cell($record)
 {
     if ($record->is_admin) {
         return;
     }
     return parent::render_cell($record);
 }