Adds missing method documentation
authorMatthias Schmidt <gravatronics@live.com>
Sat, 25 May 2013 16:41:41 +0000 (18:41 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 25 May 2013 16:42:11 +0000 (18:42 +0200)
wcfsetup/install/files/lib/data/user/avatar/UserAvatarAction.class.php

index 94af78962597ecab3d0849b16dfd4e678f0aae07..3d6404cb7cb0bc33afa91195570f02b65140cfc4 100644 (file)
@@ -277,10 +277,18 @@ class UserAvatarAction extends AbstractDatabaseObjectAction {
                return $filename;
        }
        
+       /**
+        * Validates the 'getCropDialog' action.
+        */
        public function validateGetCropDialog() {
                $this->avatar = $this->getSingleObject();
        }
        
+       /**
+        * Returns the data for the dialog to crop an avatar.
+        * 
+        * @return      array
+        */
        public function getCropDialog() {
                return array(
                        'cropX' => $this->avatar->cropX,