* placeholder for a "select all" checkbox.
*/
function label() {
- if (is_a($this->view->style_plugin, 'views_plugin_style_table') && !$this->options['vbo']['force_single']) {
+ if ($this->view->style_plugin instanceof views_plugin_style_table && !$this->options['vbo']['force_single']) {
return '<!--views-bulk-operations-select-all-->';
}
else {
*/
function _views_bulk_operations_get_field($view) {
foreach ($view->field as $field_name => $field) {
- if (is_a($field, 'views_bulk_operations_handler_field_operations')) {
+ if ($field instanceof views_bulk_operations_handler_field_operations) {
// Add in the view object for convenience.
$field->view = $view;
return $field;
$view = $variables['view'];
$form = array();
- if (is_a($view->style_plugin, 'views_plugin_style_table')) {
+ if ($view->style_plugin instanceof views_plugin_style_table) {
// Table displays only get the "select all" markup if they are paginated.
if (count($view->result) == $view->total_rows) {
return '';