@@ -177,6 +177,13 @@ |
||
177 | 177 | } |
178 | 178 | |
179 | 179 | // A hook for subclasses to modify the plot |
180 | + |
|
181 | + /** |
|
182 | + * @param integer $i |
|
183 | + * @param double $xl |
|
184 | + * @param double $xr |
|
185 | + * @param boolean $neg |
|
186 | + */ |
|
180 | 187 | public function ModBox($img, $xscale, $yscale, $i, $xl, $xr, $neg) |
181 | 188 | { |
182 | 189 | } |
@@ -55,6 +55,9 @@ |
||
55 | 55 | $this->corner = $aD; |
56 | 56 | } |
57 | 57 | |
58 | + /** |
|
59 | + * @param \Amenadiel\JpGraph\Image\RotImage $aImg |
|
60 | + */ |
|
58 | 61 | public function Stroke($aImg, $aDummy1 = null, $aDummy2 = null) |
59 | 62 | { |
60 | 63 | if ($this->hide) { |
@@ -67,7 +67,7 @@ |
||
67 | 67 | * range 0 $mu < 1 where 0 is tha start point and 1 is the end point. Note that every newly computed |
68 | 68 | * point depends on all the existing points |
69 | 69 | * |
70 | - * @param $mu Position on the bezier curve |
|
70 | + * @param double $mu Position on the bezier curve |
|
71 | 71 | * @return array($x, $y) |
72 | 72 | */ |
73 | 73 | public function GetPoint($mu) |
@@ -22,6 +22,9 @@ |
||
22 | 22 | $this->Set('C'); |
23 | 23 | } |
24 | 24 | |
25 | + /** |
|
26 | + * @param string $aLocale |
|
27 | + */ |
|
25 | 28 | public function Set($aLocale) |
26 | 29 | { |
27 | 30 | if (in_array($aLocale, array_keys($this->iDayAbb))) { |
@@ -18,17 +18,27 @@ |
||
18 | 18 | // Empty. Reserved for future use |
19 | 19 | } |
20 | 20 | |
21 | + /** |
|
22 | + * @param string $aTitle |
|
23 | + */ |
|
21 | 24 | public function SetTitle($aTitle) |
22 | 25 | { |
23 | 26 | $this->iTitle = $aTitle; |
24 | 27 | } |
25 | 28 | |
29 | + /** |
|
30 | + * @param string $aDest |
|
31 | + */ |
|
26 | 32 | public function SetStrokeDest($aDest) |
27 | 33 | { |
28 | 34 | $this->iDest = $aDest; |
29 | 35 | } |
30 | 36 | |
31 | 37 | // If aHalt is true then execution can't continue. Typical used for fatal errors |
38 | + |
|
39 | + /** |
|
40 | + * @param string $aMsg |
|
41 | + */ |
|
32 | 42 | public function Raise($aMsg, $aHalt = false) |
33 | 43 | { |
34 | 44 | if ($this->iDest != '') { |
@@ -11,6 +11,10 @@ discard block |
||
11 | 11 | private static $__iImgFlg = true; |
12 | 12 | private static $__iLogFile = ''; |
13 | 13 | private static $__iTitle = 'JpGraph Error: '; |
14 | + |
|
15 | + /** |
|
16 | + * @param integer $aMsg |
|
17 | + */ |
|
14 | 18 | public static function Raise($aMsg, $aHalt = true) |
15 | 19 | { |
16 | 20 | throw new JpGraphException($aMsg); |
@@ -47,6 +51,9 @@ discard block |
||
47 | 51 | return self::$__iLogFile; |
48 | 52 | } |
49 | 53 | |
54 | + /** |
|
55 | + * @param string $aTitle |
|
56 | + */ |
|
50 | 57 | public static function SetTitle($aTitle) |
51 | 58 | { |
52 | 59 | self::$__iTitle = $aTitle; |