@@ -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 | { |
@@ -23,6 +23,9 @@ |
||
| 23 | 23 | protected $image = null; |
| 24 | 24 | protected $font = null; |
| 25 | 25 | |
| 26 | + /** |
|
| 27 | + * @param wiImage $img |
|
| 28 | + */ |
|
| 26 | 29 | function __construct($img) |
| 27 | 30 | { |
| 28 | 31 | $this->handle = $img->getHandle(); |
@@ -92,6 +92,7 @@ discard block |
||
| 92 | 92 | * </code> |
| 93 | 93 | * |
| 94 | 94 | * @result wiPaletteImage or wiTrueColorImage instance |
| 95 | + * @param string $source |
|
| 95 | 96 | */ |
| 96 | 97 | static function load($source, $format = null) |
| 97 | 98 | { |
@@ -140,6 +141,7 @@ discard block |
||
| 140 | 141 | * Create and load an image from a string. Format is auto-detected. |
| 141 | 142 | * |
| 142 | 143 | * @result wiPaletteImage or wiTrueColorImage instance |
| 144 | + * @param string $string |
|
| 143 | 145 | */ |
| 144 | 146 | static function loadFromString($string) |
| 145 | 147 | { |
@@ -197,6 +199,7 @@ discard block |
||
| 197 | 199 | |
| 198 | 200 | /** |
| 199 | 201 | * Returns binary string with image data in format specified by $format |
| 202 | + * @param string $format |
|
| 200 | 203 | */ |
| 201 | 204 | function asString($format) |
| 202 | 205 | { |
@@ -290,6 +293,7 @@ discard block |
||
| 290 | 293 | |
| 291 | 294 | /** |
| 292 | 295 | * @result mixed RGBA array for a color with index $colorIndex |
| 296 | + * @param integer $colorIndex |
|
| 293 | 297 | */ |
| 294 | 298 | function getColorRGB($colorIndex) |
| 295 | 299 | { |
@@ -306,6 +310,9 @@ discard block |
||
| 306 | 310 | |
| 307 | 311 | /** |
| 308 | 312 | * Set the color index $color to a pixel at $x, $y |
| 313 | + * @param integer $x |
|
| 314 | + * @param integer $y |
|
| 315 | + * @param integer $color |
|
| 309 | 316 | */ |
| 310 | 317 | function setColorAt($x, $y, $color) |
| 311 | 318 | { |
@@ -361,6 +368,8 @@ discard block |
||
| 361 | 368 | |
| 362 | 369 | /** |
| 363 | 370 | * Fill the image at ($x, $y) with color index $color |
| 371 | + * @param integer $x |
|
| 372 | + * @param integer $y |
|
| 364 | 373 | */ |
| 365 | 374 | function fill($x, $y, $color) |
| 366 | 375 | { |
@@ -21,6 +21,10 @@ |
||
| 21 | 21 | |
| 22 | 22 | class wioResize |
| 23 | 23 | { |
| 24 | + |
|
| 25 | + /** |
|
| 26 | + * @param wiImage $img |
|
| 27 | + */ |
|
| 24 | 28 | protected function prepareDimensions($img, $width, $height, $fit) |
| 25 | 29 | { |
| 26 | 30 | if ($width === null) |
@@ -41,11 +41,17 @@ |
||
| 41 | 41 | return true; |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | + /** |
|
| 45 | + * @param boolean $mode |
|
| 46 | + */ |
|
| 44 | 47 | function alphaBlending($mode) |
| 45 | 48 | { |
| 46 | 49 | return imagealphablending($this->handle, $mode); |
| 47 | 50 | } |
| 48 | 51 | |
| 52 | + /** |
|
| 53 | + * @param boolean $on |
|
| 54 | + */ |
|
| 49 | 55 | function saveAlpha($on) |
| 50 | 56 | { |
| 51 | 57 | return imagesavealpha($this->handle, $on); |