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']); }
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)); }
public function __construct(\Icybee\ManageBlock $manager, $id, array $options = []) { parent::__construct($manager, $id, $options + ['filters' => ['options' => ['=1' => 'Online', '=0' => 'Offline']], 'cell_renderer' => __NAMESPACE__ . '\\IsOnlineCellRenderer']); }
public function render_cell($record) { if ($record->is_admin) { return; } return parent::render_cell($record); }