Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating doc comments

  • Loading branch information...
commit 3262fdb3e0332190276ab3c697cb595c043c4a43 1 parent d76ae81
Jason Straughan authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 classes/controller/lwrte.php
View
8 classes/controller/lwrte.php
@@ -3,12 +3,16 @@
/**
* Handles uploads and media for jQueryRTE
*
- * Based on the jqueryrte upload.php file by Andrey Gayvoronsky - http://www.gayvoronsky.com
*/
class Controller_LWRTE extends Controller {
/**
* Handles XHR POST request for file upload from RTE
+ * This is a base example of how an upload can work
+ * This method should be overridden to validate file types (images for example) or
+ * custom functionality like cropping, resizing, etc.
+ * Based on the jqueryrte uploader.php file by Andrey Gayvoronsky - http://www.gayvoronsky.com
+ * located at http://code.google.com/p/lwrte/source/browse/trunk/toolbar/uploader.php
*
* @return string
*/
@@ -55,7 +59,7 @@ public function action_upload()
}
/**
- * This is a direct copy of the media action from the userguide module
+ * This is a copy of the media action from the userguide module
*
* @return void
*/
Please sign in to comment.
Something went wrong with that request. Please try again.