@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | * Creates one instance of the tinyMCE object |
| 47 | 47 | * |
| 48 | 48 | * @param array $config The configuration |
| 49 | - * @return object $instance The instance of tinyMCE object |
|
| 49 | + * @return TinyMCE $instance The instance of tinyMCE object |
|
| 50 | 50 | **/ |
| 51 | 51 | |
| 52 | 52 | function &instance( $config ) |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | 72 | * Initializes the tinyMCE |
| 73 | - * @return true |
|
| 73 | + * @return boolean |
|
| 74 | 74 | **/ |
| 75 | 75 | |
| 76 | 76 | function init() |
@@ -113,7 +113,7 @@ |
||
| 113 | 113 | /** |
| 114 | 114 | * prepare HTML for output |
| 115 | 115 | * |
| 116 | - * @return sting HTML |
|
| 116 | + * @return string HTML |
|
| 117 | 117 | */ |
| 118 | 118 | function render() |
| 119 | 119 | { |
@@ -88,7 +88,6 @@ discard block |
||
| 88 | 88 | /** |
| 89 | 89 | * Get initial content |
| 90 | 90 | * |
| 91 | - * @param bool $encode To sanitizer the text? Default value should be "true"; however we have to set "false" for backward compat |
|
| 92 | 91 | * @return string |
| 93 | 92 | */ |
| 94 | 93 | function getValue() { |
@@ -115,7 +114,7 @@ discard block |
||
| 115 | 114 | /** |
| 116 | 115 | * prepare HTML for output |
| 117 | 116 | * |
| 118 | - * @return sting HTML |
|
| 117 | + * @return string HTML |
|
| 119 | 118 | */ |
| 120 | 119 | function render() |
| 121 | 120 | { |
@@ -88,7 +88,6 @@ discard block |
||
| 88 | 88 | /** |
| 89 | 89 | * Get initial content |
| 90 | 90 | * |
| 91 | - * @param bool $encode To sanitizer the text? Default value should be "true"; however we have to set "false" for backward compat |
|
| 92 | 91 | * @return string |
| 93 | 92 | */ |
| 94 | 93 | function getValue() { |
@@ -115,7 +114,7 @@ discard block |
||
| 115 | 114 | /** |
| 116 | 115 | * prepare HTML for output |
| 117 | 116 | * |
| 118 | - * @return sting HTML |
|
| 117 | + * @return string HTML |
|
| 119 | 118 | */ |
| 120 | 119 | function render() |
| 121 | 120 | { |
@@ -88,7 +88,6 @@ discard block |
||
| 88 | 88 | /** |
| 89 | 89 | * Get initial content |
| 90 | 90 | * |
| 91 | - * @param bool $encode To sanitizer the text? Default value should be "true"; however we have to set "false" for backward compat |
|
| 92 | 91 | * @return string |
| 93 | 92 | */ |
| 94 | 93 | function getValue() { |
@@ -115,7 +114,7 @@ discard block |
||
| 115 | 114 | /** |
| 116 | 115 | * prepare HTML for output |
| 117 | 116 | * |
| 118 | - * @return sting HTML |
|
| 117 | + * @return string HTML |
|
| 119 | 118 | */ |
| 120 | 119 | function render() |
| 121 | 120 | { |
@@ -88,7 +88,6 @@ discard block |
||
| 88 | 88 | /** |
| 89 | 89 | * Get initial content |
| 90 | 90 | * |
| 91 | - * @param bool $encode To sanitizer the text? Default value should be "true"; however we have to set "false" for backward compat |
|
| 92 | 91 | * @return string |
| 93 | 92 | */ |
| 94 | 93 | function getValue() { |
@@ -115,7 +114,7 @@ discard block |
||
| 115 | 114 | /** |
| 116 | 115 | * prepare HTML for output |
| 117 | 116 | * |
| 118 | - * @return sting HTML |
|
| 117 | + * @return string HTML |
|
| 119 | 118 | */ |
| 120 | 119 | function render() |
| 121 | 120 | { |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | * prepare HTML for output |
| 46 | 46 | * |
| 47 | 47 | * @param bool decode content? |
| 48 | - * @return sting HTML |
|
| 48 | + * @return string HTML |
|
| 49 | 49 | */ |
| 50 | 50 | function render($decode = true) |
| 51 | 51 | { |
@@ -117,6 +117,7 @@ |
||
| 117 | 117 | * @param string $action, should be 'crop', 'scale', 'rotate','flip', or 'save' |
| 118 | 118 | * @param string $relative the relative image filename |
| 119 | 119 | * @param string $fullpath the fullpath to the image file |
| 120 | + * @param string $action |
|
| 120 | 121 | * @return array with image information |
| 121 | 122 | * <code>array('src'=>'url of the image', 'dimensions'=>'width="xx" height="yy"', |
| 122 | 123 | * 'file'=>'image file, relative', 'fullpath'=>'full path to the image');</code> |
@@ -177,6 +177,11 @@ discard block |
||
| 177 | 177 | ."$size -x $x -y ".$y+$size." -text \"$text\""; |
| 178 | 178 | } // End addText |
| 179 | 179 | |
| 180 | + /** |
|
| 181 | + * @param string|null $type |
|
| 182 | + * @param integer $quality |
|
| 183 | + * @param string|null $save_type |
|
| 184 | + */ |
|
| 180 | 185 | function _postProcess($type, $quality, $save_type) |
| 181 | 186 | { |
| 182 | 187 | $type = is_null($type) || $type==''? $this->type : $type; |
@@ -244,7 +249,7 @@ discard block |
||
| 244 | 249 | /** |
| 245 | 250 | * Destroy image handle |
| 246 | 251 | * |
| 247 | - * @return none |
|
| 252 | + * @return boolean |
|
| 248 | 253 | */ |
| 249 | 254 | function free() |
| 250 | 255 | { |