Quentin-Seekness
daafa150a0
Update export.class.php ( #31783 )
...
Allow usage of a method param that is not part of the $obj from the sql request.
The issue I encontered is the usage of order's LibStatut method that required a $mode param that can't be fetched from the sql request obj.
This would be the code for the export declaration :
$this->export_special_array[$r] = array(
'orders.fk_statut'=> [
'rule' => 'compute',
'class' => 'Commande',
'classfile' => '/commande/class/commande.class.php',
'method' => 'LibStatut',
'method_params' => ['orders_fk_statut', 'orders_facture', '1'],
],
);
We can see that the first two params will come from the $obj, but the third one will be used for it's value (in this case '1').
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-11-12 18:55:56 +01:00
..
2024-11-12 14:42:07 +01:00
2024-11-12 03:37:48 +01:00
2024-11-12 13:46:13 +01:00
2024-11-04 23:53:20 +01:00
2024-11-11 14:48:18 +01:00
2024-11-12 00:35:14 +01:00
2024-11-04 23:53:20 +01:00
2024-11-12 12:57:08 +01:00
2024-11-12 11:51:14 +01:00
2024-11-12 00:35:14 +01:00
2024-11-12 00:35:14 +01:00
2024-11-10 11:16:23 +01:00
2024-11-12 00:35:14 +01:00
2024-11-04 23:53:20 +01:00
2024-11-12 00:35:14 +01:00
2024-11-12 04:00:37 +01:00
2024-11-12 14:42:07 +01:00
2024-09-13 14:49:28 +02:00
2024-11-11 14:33:53 +01:00
2024-11-12 00:33:28 +01:00
2024-11-12 13:48:12 +01:00
2024-11-10 23:47:14 +01:00
2024-11-12 02:54:18 +01:00
2024-11-04 23:53:20 +01:00
2024-11-08 14:43:12 +01:00
2024-11-04 23:53:20 +01:00
2024-11-11 14:33:53 +01:00
2024-11-10 11:16:23 +01:00
2024-11-06 20:15:15 +01:00
2024-11-10 11:16:23 +01:00
2024-11-12 03:17:55 +01:00
2024-11-10 11:16:23 +01:00
2024-11-12 18:55:56 +01:00
2024-11-10 23:47:14 +01:00
2024-11-11 18:26:57 +01:00
2024-11-12 17:32:54 +01:00
2024-11-04 23:53:20 +01:00
2024-11-11 14:48:18 +01:00
2024-11-11 14:48:18 +01:00
2024-11-11 14:48:18 +01:00
2024-11-09 16:57:23 +01:00
2024-11-12 13:46:45 +01:00
2024-11-07 12:26:42 +01:00
2024-11-04 23:53:20 +01:00
2024-11-12 17:05:15 +01:00
2024-11-10 17:55:36 +01:00
2024-11-06 20:15:15 +01:00
2024-11-04 23:53:20 +01:00
2024-11-11 14:48:18 +01:00
2024-11-11 14:45:30 +01:00
2024-11-07 12:26:42 +01:00
2024-11-12 03:38:38 +01:00
2024-11-06 20:15:15 +01:00
2024-11-10 23:47:14 +01:00
2024-11-10 11:16:23 +01:00
2024-11-10 11:16:23 +01:00
2024-11-12 12:57:08 +01:00
2024-11-11 14:48:18 +01:00
2024-11-10 11:16:23 +01:00
2024-11-07 12:26:42 +01:00
2024-11-06 23:57:45 +01:00
2024-11-06 23:57:45 +01:00
2024-11-10 23:47:14 +01:00
2024-11-11 17:53:35 +01:00
2024-11-10 11:16:23 +01:00
2024-11-11 14:33:53 +01:00
2024-11-12 02:24:25 +01:00
2024-11-10 11:55:18 +01:00
2024-11-10 11:16:23 +01:00
2024-11-10 11:56:32 +01:00
2024-11-10 23:47:14 +01:00
2024-11-07 12:26:42 +01:00
2024-11-06 23:57:45 +01:00
2024-11-11 14:48:18 +01:00
2024-11-10 11:16:23 +01:00
2024-11-12 02:43:46 +01:00
2024-11-10 23:47:14 +01:00
2024-11-04 23:53:20 +01:00
2024-10-07 15:25:19 +02:00
2024-11-04 23:53:20 +01:00
2024-11-09 14:28:26 +01:00
2024-10-04 12:10:25 +02:00
2024-11-04 23:53:20 +01:00