Exemplo n.º 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']);
 }
Exemplo n.º 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));
 }
Exemplo n.º 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']);
 }
Exemplo n.º 4
0
 public function render_cell($record)
 {
     if ($record->is_admin) {
         return;
     }
     return parent::render_cell($record);
 }