use CoreFramework\Controller\Controller;
use CoreFramework\Criteria\Criteria;
use CoreFramework\Criteria\Local\LocalSearchCriteria;
+use CoreFramework\Criteria\Local\LocalUpdateCriteria;
use CoreFramework\Factory\Database\Wrapper\DatabaseWrapperFactory;
use CoreFramework\Factory\ObjectFactory;
use CoreFramework\Filesystem\FrameworkDirectory;
use CoreFramework\Response\Responseable;
use CoreFramework\Stream\Output\OutputStreamer;
use CoreFramework\Template\CompileableTemplate;
+use CoreFramework\Wrapper\Database\DatabaseWrapper;
// Import SPL stuff
use \stdClass;
/**
* Setter for update instance
*
- * @param $updateInstance Searchable criteria instance
+ * @param $updateInstance An instance of a LocalUpdateCriteria clase
* @return void
*/
public final function setUpdateInstance (LocalUpdateCriteria $updateInstance) {
// Import framework stuff
use CoreFramework\Criteria\BaseCriteria;
+use CoreFramework\Criteria\Local\LocalUpdateCriteria;
/**
* Search criteria for e.g. searching in databases. Do not use this class if
use CoreFramework\Factory\ObjectFactory;
use CoreFramework\Generic\NullPointerException;
use CoreFramework\Registry\Registerable;
+use CoreFramework\Result\Update\UpdateableResult;
/**
* A database wrapper for the User class
// Import framework stuff
use CoreFramework\Criteria\Local\LocalSearchCriteria;
+use CoreFramework\Criteria\Local\LocalUpdateCriteria;
use CoreFramework\Criteria\Storing\StoreableCriteria;
use CoreFramework\Database\Backend\BaseDatabaseBackend;
use CoreFramework\Request\Requestable;
use CoreFramework\Result\Search\SearchableResult;
+use CoreFramework\Result\Update\UpdateableResult;
+use CoreFramework\Wrapper\Database\DatabaseWrapper;
/**
* A database result class
// Import framework stuff
use CoreFramework\Generic\FrameworkException;
+use CoreFramework\Result\Update\UpdateableResult;
/**
* An exception thrown if result was not updated.
<?php
// Own namespace
-namespace CoreFramework\Criteria;
+namespace CoreFramework\Criteria\Add;
// Import framework stuff
use CoreFramework\Criteria\Storing\StoreableCriteria;
// Own namespace
namespace CoreFramework\Database\Wrapper;
+// Import framework stuff
+use CoreFramework\Result\Update\UpdateableResult;
+use CoreFramework\Wrapper\Database\DatabaseWrapper;
+
/**
* An interface for wrapper dealing with bookable points
*
<?php
+// Own namespace
+namespace CoreFramework\Wrapper\Account;
+
+// Import framework stuff
+use CoreFramework\Wrapper\Database\DatabaseWrapper;
+
/**
* An interface for wrapper handling manageable accounts
*
// Own namespace
namespace CoreFramework\User\Points;
+// Import framework stuff
+use CoreFramework\Criteria\Add\AddableCriteria;
+
/**
* An interface for bookable points
*
// Own namespace
namespace CoreFramework\User\Registration;
+// Import framework stuff
+use CoreFramework\Criteria\Add\AddableCriteria;
+
/**
* A class for user registration
*
// Import framework stuff
use CoreFramework\Criteria\Local\LocalSearchCriteria;
use CoreFramework\Generic\FrameworkInterface;
+use CoreFramework\Wrapper\Database\DatabaseWrapper;
/**
* An interface for searchable results
<?php
// Own namespace
-namespace CoreFramework\Result;
+namespace CoreFramework\Result\Update;
+
+// Import framework stuff
+use CoreFramework\Criteria\Add\AddableCriteria;
+use CoreFramework\Criteria\Local\LocalUpdateCriteria;
/**
* An interface for searchable results