Permalink
Browse files

Updating doc comments

  • Loading branch information...
1 parent d76ae81 commit 3262fdb3e0332190276ab3c697cb595c043c4a43 Jason Straughan committed Feb 2, 2011
Showing with 6 additions and 2 deletions.
  1. +6 −2 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
*/

0 comments on commit 3262fdb

Please sign in to comment.