@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * Supprime un produit de toutes les listes |
| 59 | 59 | * |
| 60 | 60 | * @param integer $productlist_product_id |
| 61 | - * @return booelan |
|
| 61 | + * @return boolean |
|
| 62 | 62 | */ |
| 63 | 63 | public function deleteProductFromLists($productlist_product_id) |
| 64 | 64 | { |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | /** |
| 95 | 95 | * Ajoute un produit à une liste utilisateur |
| 96 | 96 | * |
| 97 | - * @param integer $productlist_id Id de la liste |
|
| 97 | + * @param integer $productlist_list_id Id de la liste |
|
| 98 | 98 | * @param integer $productlist_product_id Id du produit |
| 99 | 99 | * @return boolean |
| 100 | 100 | */ |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | /** |
| 43 | 43 | * Réinitialisation des valeurs |
| 44 | 44 | * |
| 45 | - * @return object |
|
| 45 | + * @return oledrion_shelf_parameters |
|
| 46 | 46 | */ |
| 47 | 47 | public function resetDefaultValues() |
| 48 | 48 | { |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | * Positione la valeur de début |
| 76 | 76 | * |
| 77 | 77 | * @param integer $value |
| 78 | - * @return object |
|
| 78 | + * @return oledrion_shelf_parameters |
|
| 79 | 79 | */ |
| 80 | 80 | public function setStart($value) |
| 81 | 81 | { |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | * Fixe le nombre maximum d'enregistrements à retourner |
| 89 | 89 | * |
| 90 | 90 | * @param integer $value |
| 91 | - * @return object |
|
| 91 | + * @return oledrion_shelf_parameters |
|
| 92 | 92 | */ |
| 93 | 93 | public function setLimit($value) |
| 94 | 94 | { |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | * Fixe la catégorie à utiliser |
| 102 | 102 | * |
| 103 | 103 | * @param integer $value |
| 104 | - * @return object |
|
| 104 | + * @return oledrion_shelf_parameters |
|
| 105 | 105 | */ |
| 106 | 106 | public function setCategory($value) |
| 107 | 107 | { |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | * Fixe la zone qui sert de tri |
| 115 | 115 | * |
| 116 | 116 | * @param string $value |
| 117 | - * @return object |
|
| 117 | + * @return oledrion_shelf_parameters |
|
| 118 | 118 | */ |
| 119 | 119 | public function setSort($value) |
| 120 | 120 | { |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | * Fixe l'ordre de tri |
| 128 | 128 | * |
| 129 | 129 | * @param string $value |
| 130 | - * @return array |
|
| 130 | + * @return oledrion_shelf_parameters |
|
| 131 | 131 | */ |
| 132 | 132 | public function setOrder($value) |
| 133 | 133 | { |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | * Fixe la liste des produits à exclure |
| 141 | 141 | * |
| 142 | 142 | * @param mixed $value |
| 143 | - * @return string |
|
| 143 | + * @return oledrion_shelf_parameters |
|
| 144 | 144 | */ |
| 145 | 145 | public function setExcluded($value) |
| 146 | 146 | { |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | * Indique s'il faut retourner les utilisateurs Xoops |
| 154 | 154 | * |
| 155 | 155 | * @param boolean $value |
| 156 | - * @return object |
|
| 156 | + * @return oledrion_shelf_parameters |
|
| 157 | 157 | */ |
| 158 | 158 | public function setWithXoopsUser($value) |
| 159 | 159 | { |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | * Indique s'il faut retourner les produits relatifs |
| 167 | 167 | * |
| 168 | 168 | * @param boolean $value |
| 169 | - * @return object |
|
| 169 | + * @return oledrion_shelf_parameters |
|
| 170 | 170 | */ |
| 171 | 171 | public function setWithRelatedProducts($value) |
| 172 | 172 | { |
@@ -179,7 +179,7 @@ discard block |
||
| 179 | 179 | * Indique s'il faut retourner les quantités |
| 180 | 180 | * |
| 181 | 181 | * @param boolean $value |
| 182 | - * @return object |
|
| 182 | + * @return oledrion_shelf_parameters |
|
| 183 | 183 | */ |
| 184 | 184 | public function setWithQuantity($value) |
| 185 | 185 | { |
@@ -192,7 +192,7 @@ discard block |
||
| 192 | 192 | * Fixe le type de produits à retourner |
| 193 | 193 | * |
| 194 | 194 | * @param string $value |
| 195 | - * @return object |
|
| 195 | + * @return oledrion_shelf_parameters |
|
| 196 | 196 | */ |
| 197 | 197 | public function setProductsType($value) |
| 198 | 198 | { |
@@ -205,7 +205,7 @@ discard block |
||
| 205 | 205 | * Indique s'il faut retourner seulement les mois |
| 206 | 206 | * |
| 207 | 207 | * @param boolean $value |
| 208 | - * @return object |
|
| 208 | + * @return oledrion_shelf_parameters |
|
| 209 | 209 | */ |
| 210 | 210 | public function setThisMonthOnly($value) |
| 211 | 211 | { |
@@ -81,7 +81,6 @@ |
||
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | /** |
| 84 | - * @param string $smsGatewayName |
|
| 85 | 84 | */ |
| 86 | 85 | public static function sendSms($information = array()) |
| 87 | 86 | { |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | /** |
| 39 | 39 | * Access the only instance of this class |
| 40 | 40 | * |
| 41 | - * @return object |
|
| 41 | + * @return oledrion_utils |
|
| 42 | 42 | * |
| 43 | 43 | * @static |
| 44 | 44 | * @staticvar object |
@@ -277,7 +277,7 @@ discard block |
||
| 277 | 277 | /** |
| 278 | 278 | * Send an email from a template to a list of recipients |
| 279 | 279 | * |
| 280 | - * @param string $tpl_name Template's name |
|
| 280 | + * @param string $tplName Template's name |
|
| 281 | 281 | * @param array $recipients List of recipients |
| 282 | 282 | * @param string $subject Email's subject |
| 283 | 283 | * @param array $variables Varirables to give to the template |
@@ -457,7 +457,7 @@ discard block |
||
| 457 | 457 | /** |
| 458 | 458 | * Retourne la liste des emails des utilisateurs membres d'un groupe |
| 459 | 459 | * |
| 460 | - * @param int $group_id Group's number |
|
| 460 | + * @param int $groupId Group's number |
|
| 461 | 461 | * @return array Emails list |
| 462 | 462 | */ |
| 463 | 463 | public static function getEmailsFromGroup($groupId) |
@@ -474,7 +474,7 @@ discard block |
||
| 474 | 474 | /** |
| 475 | 475 | * Vérifie que l'utilisateur courant fait partie du groupe des administrateurs |
| 476 | 476 | * |
| 477 | - * @return booleean Admin or not |
|
| 477 | + * @return boolean Admin or not |
|
| 478 | 478 | */ |
| 479 | 479 | public static function isAdmin() |
| 480 | 480 | { |
@@ -576,7 +576,6 @@ discard block |
||
| 576 | 576 | * Mark the mandatory fields of a form with a star |
| 577 | 577 | * |
| 578 | 578 | * @param object $sform The form to modify |
| 579 | - * @param string $caracter The character to use to mark fields |
|
| 580 | 579 | * @return object The modified form |
| 581 | 580 | */ |
| 582 | 581 | public static function &formMarkRequiredFields(&$sform) |
@@ -1046,7 +1045,7 @@ discard block |
||
| 1046 | 1045 | * Fonction chargée de gérer l'upload |
| 1047 | 1046 | * |
| 1048 | 1047 | * @param integer $indice L'indice du fichier à télécharger |
| 1049 | - * @return mixed True si l'upload s'est bien déroulé sinon le message d'erreur correspondant |
|
| 1048 | + * @return boolean|string True si l'upload s'est bien déroulé sinon le message d'erreur correspondant |
|
| 1050 | 1049 | */ |
| 1051 | 1050 | public static function uploadFile($indice, $dstpath = XOOPS_UPLOAD_PATH, $mimeTypes = null, $uploadMaxSize = null, $maxWidth = null, $maxHeight = null) |
| 1052 | 1051 | { |
@@ -1149,7 +1148,7 @@ discard block |
||
| 1149 | 1148 | /** |
| 1150 | 1149 | * Ajoute des jours à une date et retourne la nouvelle date au format Date de Mysql |
| 1151 | 1150 | * |
| 1152 | - * @param integer $durations Durée en jours |
|
| 1151 | + * @param integer $duration Durée en jours |
|
| 1153 | 1152 | * @param integer $startingDate Date de départ (timestamp) |
| 1154 | 1153 | */ |
| 1155 | 1154 | public function addDaysToDate($duration = 1, $startingDate = 0) |
@@ -1191,6 +1190,9 @@ discard block |
||
| 1191 | 1190 | return $breadcrumb; |
| 1192 | 1191 | } |
| 1193 | 1192 | |
| 1193 | + /** |
|
| 1194 | + * @param string $string |
|
| 1195 | + */ |
|
| 1194 | 1196 | public function close_tags($string) |
| 1195 | 1197 | { |
| 1196 | 1198 | // match opened tags |
@@ -1322,7 +1324,7 @@ discard block |
||
| 1322 | 1324 | * |
| 1323 | 1325 | * @param floatval $product_price Le montant du produit |
| 1324 | 1326 | * @param integer $vat_id Le numéro de TVA |
| 1325 | - * @return floatval Le montant TTC si on a trouvé sa TVA sinon |
|
| 1327 | + * @return double Le montant TTC si on a trouvé sa TVA sinon |
|
| 1326 | 1328 | */ |
| 1327 | 1329 | public static function getAmountWithVat($product_price, $vat_id) |
| 1328 | 1330 | { |
@@ -1511,7 +1513,7 @@ discard block |
||
| 1511 | 1513 | * |
| 1512 | 1514 | * @param string $path The file's path |
| 1513 | 1515 | * @param string $filename The filename |
| 1514 | - * @return mixed If the copy succeed, the new filename else false |
|
| 1516 | + * @return string|false If the copy succeed, the new filename else false |
|
| 1515 | 1517 | * @since 2.1 |
| 1516 | 1518 | */ |
| 1517 | 1519 | public function duplicateFile($path, $filename) |
@@ -1593,7 +1595,7 @@ discard block |
||
| 1593 | 1595 | * Create the <option> of an html select |
| 1594 | 1596 | * |
| 1595 | 1597 | * @param array $array Array of index and labels |
| 1596 | - * @param mixed $default the default value |
|
| 1598 | + * @param integer $default the default value |
|
| 1597 | 1599 | * @return string |
| 1598 | 1600 | * @since 2.3.2009.03.13 |
| 1599 | 1601 | */ |
@@ -1623,8 +1625,8 @@ discard block |
||
| 1623 | 1625 | * Creates an html select |
| 1624 | 1626 | * |
| 1625 | 1627 | * @param string $selectName Selector's name |
| 1626 | - * @param array $array Options |
|
| 1627 | - * @param mixed $default Default's value |
|
| 1628 | + * @param string[] $array Options |
|
| 1629 | + * @param integer $default Default's value |
|
| 1628 | 1630 | * @param boolean $withNull Do we include a null option ? |
| 1629 | 1631 | * @return string |
| 1630 | 1632 | * @since 2.3.2009.03.13 |
@@ -1721,6 +1723,7 @@ discard block |
||
| 1721 | 1723 | * @package Oledrion |
| 1722 | 1724 | * @author Instant Zero (http://xoops.instant-zero.com) |
| 1723 | 1725 | * @copyright (c) Instant Zero |
| 1726 | + * @param string $fieldname |
|
| 1724 | 1727 | */ |
| 1725 | 1728 | public static function fieldExists($fieldname, $table) |
| 1726 | 1729 | { |
@@ -1754,6 +1757,7 @@ discard block |
||
| 1754 | 1757 | * @package Oledrion |
| 1755 | 1758 | * @author Instant Zero (http://xoops.instant-zero.com) |
| 1756 | 1759 | * @copyright (c) Instant Zero |
| 1760 | + * @param string $field |
|
| 1757 | 1761 | */ |
| 1758 | 1762 | public static function addField($field, $table) |
| 1759 | 1763 | { |
@@ -53,11 +53,6 @@ discard block |
||
| 53 | 53 | /** |
| 54 | 54 | * Renvoie la liste de toutes les TVA du module |
| 55 | 55 | * |
| 56 | - * @param integer $start Position de départ |
|
| 57 | - * @param integer $limit Nombre total d'enregistrements à renvoyer |
|
| 58 | - * @param string $order Champ sur lequel faire le tri |
|
| 59 | - * @param string $order Ordre du tri |
|
| 60 | - * @param boolean $idaskey Indique si le tableau renvoyé doit avoir pour clé l'identifiant unique de l'enregistrement |
|
| 61 | 56 | * @return array tableau d'objets de type TVA |
| 62 | 57 | */ |
| 63 | 58 | public function getAllVats(oledrion_parameters $parameters) |
@@ -77,11 +72,6 @@ discard block |
||
| 77 | 72 | /** |
| 78 | 73 | * Renvoie la liste de toutes les TVA du module |
| 79 | 74 | * |
| 80 | - * @param integer $start Position de départ |
|
| 81 | - * @param integer $limit Nombre total d'enregistrements à renvoyer |
|
| 82 | - * @param string $order Champ sur lequel faire le tri |
|
| 83 | - * @param string $order Ordre du tri |
|
| 84 | - * @param boolean $idaskey Indique si le tableau renvoyé doit avoir pour clé l'identifiant unique de l'enregistrement |
|
| 85 | 75 | * @return array tableau d'objets de type TVA |
| 86 | 76 | */ |
| 87 | 77 | public function getCountryVats($country) |
@@ -42,11 +42,6 @@ |
||
| 42 | 42 | /** |
| 43 | 43 | * Renvoie la liste de tous les vendeurs du module |
| 44 | 44 | * |
| 45 | - * @param integer $start Position de départ |
|
| 46 | - * @param integer $limit Nombre total d'enregistrements à renvoyer |
|
| 47 | - * @param string $order Champ sur lequel faire le tri |
|
| 48 | - * @param string $order Ordre du tri |
|
| 49 | - * @param boolean $idaskey Indique si le tableau renvoyé doit avoir pour clé l'identifiant unique de l'enregistrement |
|
| 50 | 45 | * @return array tableau d'objets de type vendors |
| 51 | 46 | */ |
| 52 | 47 | public function getAllVendors(oledrion_parameters $parameters) |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | * @param integer $product_id Identifiant du produit |
| 50 | 50 | * @param integer $totalVotes Variable passée par référence et devant contenir le nombre total de votes du produit |
| 51 | 51 | * @param integer $sumRating Variable passée par référence et devant contenir le cumul des votes |
| 52 | - * @return none Rien |
|
| 52 | + * @return integer|null Rien |
|
| 53 | 53 | */ |
| 54 | 54 | public function getCountRecordSumRating($product_id, &$totalVotes, &$sumRating) |
| 55 | 55 | { |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | * Suppression des votes d'un produit |
| 89 | 89 | * |
| 90 | 90 | * @param integer $vote_product_id L'identifiant du produit |
| 91 | - * @return le résultat de la suppression |
|
| 91 | + * @return boolean résultat de la suppression |
|
| 92 | 92 | */ |
| 93 | 93 | public function deleteProductRatings($vote_product_id) |
| 94 | 94 | { |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | * @param integer $vote_product_id L'identifiant du produit |
| 154 | 154 | * @param integer $vote_uid L'identifiant de l'utilisateur |
| 155 | 155 | * @param integer $vote_rating Le vote |
| 156 | - * @return le résultat de la création du vote |
|
| 156 | + * @return boolean résultat de la création du vote |
|
| 157 | 157 | */ |
| 158 | 158 | public function createRating($vote_product_id, $vote_uid, $vote_rating) |
| 159 | 159 | { |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | /** |
| 29 | 29 | * Access the only instance of this class |
| 30 | 30 | * |
| 31 | - * @return object |
|
| 31 | + * @return oledrion_registryfile |
|
| 32 | 32 | * |
| 33 | 33 | * @static |
| 34 | 34 | * @staticvar object |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | * @param string $fieldName Name of the member variable from the node objects that should be used as the title for the options. |
| 215 | 215 | * @param string $prefix String to indent deeper levels |
| 216 | 216 | * @param string $selected Value to display as selected |
| 217 | - * @param bool $addEmptyOption Set TRUE to add an empty option with value "0" at the top of the hierarchy |
|
| 217 | + * @param string|boolean $addEmptyOption Set TRUE to add an empty option with value "0" at the top of the hierarchy |
|
| 218 | 218 | * @param integer $key ID of the object to display as the root of select options |
| 219 | 219 | * @return string HTML select box |
| 220 | 220 | **/ |
@@ -239,6 +239,9 @@ discard block |
||
| 239 | 239 | |
| 240 | 240 | /** |
| 241 | 241 | * Internal function used by makeTreeAsArray |
| 242 | + * @param string $fieldName |
|
| 243 | + * @param integer $key |
|
| 244 | + * @param string $prefix_orig |
|
| 242 | 245 | */ |
| 243 | 246 | public function _recursiveMakeTreeAsArray($fieldName, $key, &$ret, $prefix_orig, $prefix_curr = '') |
| 244 | 247 | { |