From 9814e9a644bdc28af4110bbcfd2a9eb54ccb5131 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sun, 1 Jul 2018 13:38:41 +0200 Subject: [PATCH] Documentation --- include/class/acc_ledger_history.class.php | 2 +- include/lib/select_box.class.php | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/include/class/acc_ledger_history.class.php b/include/class/acc_ledger_history.class.php index 94a88e328..7b2a4b6f7 100644 --- a/include/class/acc_ledger_history.class.php +++ b/include/class/acc_ledger_history.class.php @@ -125,7 +125,7 @@ abstract class Acc_Ledger_History /** * Build the right object - * @return \Acc_Ledger_History_Generic|\Acc_Ledger_History_Sale|\Acc_Ledger_History_Financial|\Acc_Ledger_History_Purchase + * @return Acc_Ledger_History_Generic Acc_Ledger_History_Sale Acc_Ledger_History_Financial Acc_Ledger_History_Purchase */ static function factory(Database $cn, $pa_ledger, $p_from, $p_to, $p_mode) { diff --git a/include/lib/select_box.class.php b/include/lib/select_box.class.php index 430e28b7f..b153128bb 100644 --- a/include/lib/select_box.class.php +++ b/include/lib/select_box.class.php @@ -17,6 +17,11 @@ * along with NOALYSS; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +/** + * @file + * @brief display a kind of select + * @include select-box-test.php + */ // Copyright Author Dany De Bontridder danydb@aevalys.eu class Select_Box @@ -31,8 +36,9 @@ class Select_Box * Default constructor * @param type $p_id javascript DOMid * @param type $value Label to display + * @example select-box-test.php + * * - * @example test-iselect-button.php */ function __construct($p_id, $value) {