applied_group = array(0 => 'classement_label');
}
protected function get_cell_content_link_name($object) {
global $action, $sub;
global $list_ui_objects_type;
$content = '';
$link = $this->lien_origine."&action=".$this->action_click.($list_ui_objects_type ? "&list_ui_objects_type=".$list_ui_objects_type : "")."&idemprcaddie=".$object->get_idcaddie()."&item=".$this->item;
if($this->item && $action!="save_cart" && $action!="del_cart") {
if($action != "transfert" && $action != "del_cart" && $action!="save_cart") {
$content .= " ";
$content .= "";
} else {
$content .= "";
}
} else {
if($sub!='gestion' && $sub!='action' && $action!="save_cart") {
$content.= " ";
$content .= "";
} else {
$content.= "";
}
}
return $content;
}
protected function get_cell_content_edition_and_actions($object) {
global $msg;
global $sub, $quoi, $action;
global $list_ui_objects_type;
if (static::$lien_edition) {
$aff_lien = "lien_origine."&action=edit_cart".($list_ui_objects_type ? "&list_ui_objects_type=".$list_ui_objects_type : "")."&idemprcaddie=".$object->get_idcaddie()."';\" />";
} else {
$aff_lien = "";
}
if(($sub=="gestion" && $quoi=="panier") || ($action=="del_cart")){
$model_class_name = static::$model_class_name;
return $aff_lien." ".$model_class_name::show_actions($object->get_idcaddie()).($object->acces_rapide ? " ":"");
} else {
return $aff_lien;
}
}
protected function get_button_add() {
global $msg;
global $list_ui_objects_type;
return "lien_origine."&action=new_cart".($list_ui_objects_type ? "&list_ui_objects_type=".$list_ui_objects_type : "")."&item=".$this->item."'\" />";
}
public static function get_controller_url_base() {
global $base_path, $sub, $quelle;
return $base_path.'/circ.php?categ=caddie&sub='.$sub.'&quelle='.$quelle;
}
}