]> git.mxchange.org Git - core.git/blobdiff - inc/main/classes/points/class_UserPoints.php
Continued:
[core.git] / inc / main / classes / points / class_UserPoints.php
index dd625e450dc3dbd5f7cd581718a0778c8db0be5e..b3f836e5bf48feeaca13ea85dcc10a05fb7a9e3f 100644 (file)
@@ -1,4 +1,14 @@
 <?php
+// Own namespace
+namespace CoreFramework\User\Point;
+
+// Import framework stuff
+use CoreFramework\Factory\Database\Wrapper\DatabaseWrapperFactory;
+use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Object\BaseFrameworkSystem;
+use CoreFramework\Registry\Registerable;
+use CoreFramework\Request\Requestable;
+
 /**
  * A class for handling user points which can be real or Internet currency
  *
@@ -169,6 +179,7 @@ class UserPoints extends BaseFrameworkSystem implements Registerable, BookablePo
         * @param       $criteriaInstance       An instance of a StoreableCriteria class
         * @param       $requestInstance        An instance of a Requestable class
         * @return      void
+        * @todo        $requestInstance is currently unused
         */
        public function addElementsToDataSet (StoreableCriteria $criteriaInstance, Requestable $requestInstance = NULL) {
                // Add user id
@@ -177,7 +188,5 @@ class UserPoints extends BaseFrameworkSystem implements Registerable, BookablePo
                // Add amount
                $criteriaInstance->addCriteria(UserPointsDatabaseWrapper::DB_COLUMN_POINTS, $this->getAmount());
        }
-}
 
-// [EOF]
-?>
+}