autorisations); if (($PMBuserid==1 || $row->autorisations_all || array_search ($PMBuserid, $rqt_autorisation)!==FALSE) && pmb_strtolower(pmb_substr(trim($row->requete),0,6))=='select') { $this->objects[] = $row; } } protected function get_button_add() { return ""; } protected function get_display_cell($object, $property) { switch ($property) { default: $attributes = array( 'onclick' => "document.location=\"".static::get_controller_url_base()."&action=execute&id_proc=".$object->idproc."\"" ); break; } $content = $this->get_cell_content($object, $property); $display = $this->get_display_format_cell($content, $property, $attributes); return $display; } }