

Definition at line 24 of file class_UserDatabaseWrapper.php.
Public Member Functions | |
| __call ($methodName, $args) | |
| The call method where all non-implemented methods end up. | |
| __toString () | |
| Getter for $realClass. | |
| addMissingTrailingSlash ($str) | |
| Appends a trailing slash to a string. | |
| convertToClassName ($str) | |
| Converts e.g. | |
| debugBackTrace () | |
| Outputs a debug backtrace and stops further script execution. | |
| debugInstance ($message="") | |
| Debugs this instance by putting out it's full content. | |
| debugOutput ($message, $doPrint=true) | |
| Outputs a debug message wether to debug instance (should be set!) or dies with or pints the message. | |
| doFilterFormatTimestamp ($timestamp) | |
| Filter a given GMT timestamp (non Uni* stamp!) to make it look more beatiful for web-based front-ends. | |
| doSelectByCriteria (Criteria $criteriaInstance) | |
| Do a "select" query on the current table with the given search criteria and store it in cache for later usage. | |
| doSelectCountByCriteria (Criteria $criteriaInstance) | |
| Count the numbers of rows we shall receive. | |
| doUpdateByResult (UpdateableResult $resultInstance) | |
| Updates an user database entry with given result. | |
| formatCurrency ($value, $currency="€", $decNum=2) | |
| Formats computer generated price values into human-understandable formats with thousand and decimal seperators. | |
| getCompressorChannel () | |
| Getter for compressor channel. | |
| getConfigInstance () | |
| Getter for configuration instance. | |
| getControllerInstance () | |
| Getter for controller instance (this surely breaks a bit the MVC patterm). | |
| getDatabaseInstance () | |
| Getter for database layer. | |
| getDebugInstance () | |
| Getter for debug instance. | |
| getField ($fieldName) | |
| Getter for field name. | |
| getIndexKey () | |
| Getter for index key. | |
| getPrimaryKeyValue () | |
| Getter for primary key used in wrapped table. | |
| getRequestInstance () | |
| Getter for request instance. | |
| getResolverInstance () | |
| Getter for resolver instance. | |
| getResponseInstance () | |
| Getter for response instance. | |
| getResultInstance () | |
| Getter for database result instance. | |
| getSearchInstance () | |
| Getter for search instance. | |
| getUserInstance () | |
| Getter for user instance. | |
| getWebOutputInstance () | |
| Getter for web output instance. | |
| insertRegistrationObject (UserRegister $registrationInstance) | |
| Handles inserting the registration data from a registration instance into the database. | |
| isCabin () | |
| Stub method (only real cabins shall override it). | |
| isClass ($className) | |
| Compare class name of this and given class name. | |
| isTradeable () | |
| Stub method for tradeable objects. | |
| markupCode ($phpCode) | |
| Marks up the code by adding e.g. | |
| removeNumberFormaters () | |
| Removes number formating characters. | |
| removeSystemArray () | |
| Remove the $systemClasses array from memory. | |
| setApplicationInstance (ManageableApplication $applicationInstance) | |
| Setter for a manageable application helper class. | |
| setCompressorChannel (CompressorChannel $compressorChannel) | |
| Setter for compressor channel. | |
| setConfigInstance (FrameworkConfiguration $configInstance) | |
| Setter for language instance. | |
| setControllerInstance (Controller $controllerInstance) | |
| Setter for controller instance (this surely breaks a bit the MVC patterm). | |
| setDatabaseInstance (DatabaseConnection $dbInstance) | |
| Setter for database instance. | |
| setDebugInstance (DebugMiddleware $debugInstance) | |
| Setter for debug instance. | |
| setFileIoInstance (FileIoHandler $fileIoInstance) | |
| Setter for file I/O instance. | |
| setLanguageInstance (ManageableLanguage $langInstance) | |
| Setter for language instance. | |
| setRealClass ($realClass) | |
| Setter for the real class name. | |
| setRequestInstance (Requestable $requestInstance) | |
| Setter for request instance. | |
| setResolverInstance (Resolver $resolverInstance) | |
| Setter for resolver instance. | |
| setResponseInstance (Responseable $responseInstance) | |
| Setter for response instance. | |
| setSearchInstance (LocalSearchCriteria $searchInstance) | |
| Setter for search instance. | |
| setWebOutputInstance (OutputStreamer $webInstance) | |
| Setter for web output instance. | |
Static Public Member Functions | |
| static | createUserDatabaseWrapper () |
| Creates an instance of this database wrapper by a provided user class. | |
Public Attributes | |
| const | DB_COLUMN_CONFIRM_HASH = "confirm_hash" |
| const | DB_COLUMN_EMAIL = "email" |
| const | DB_COLUMN_USER_STATUS = "user_status" |
| const | DB_COLUMN_USERID = "userid" |
| const | DB_COLUMN_USERNAME = "username" |
| const | DB_TABLE_USER = "user" |
| const | EXCEPTION_ARRAY_ELEMENTS_MISSING = 0x02c |
| const | EXCEPTION_ARRAY_EXPECTED = 0x01f |
| const | EXCEPTION_ARRAY_HAS_INVALID_COUNT = 0x020 |
| const | EXCEPTION_ASSERTION_FAILED = 0x037 |
| const | EXCEPTION_ATTRIBUTES_ARE_MISSING = 0x02b |
| const | EXCEPTION_BIRTH_DATE_IS_INVALID = 0x00b |
| const | EXCEPTION_CLASS_NOT_FOUND = 0x033 |
| const | EXCEPTION_CLASSES_NOT_MATCHING = 0x005 |
| const | EXCEPTION_CLIENT_USERNAME_NOT_FOUND = 0x180 |
| const | EXCEPTION_CONTAINER_ITEM_IS_NULL = 0x026 |
| const | EXCEPTION_CONTAINER_MAYBE_DAMAGED = 0x028 |
| const | EXCEPTION_CONTRACT_ALREADY_SIGNED = 0x013 |
| const | EXCEPTION_CONTRACT_PARTNER_INVALID = 0x011 |
| const | EXCEPTION_CONTRACT_PARTNER_MISMATCH = 0x012 |
| const | EXCEPTION_DATABASE_UPDATED_NOT_ALLOWED = 0x039 |
| const | EXCEPTION_DEFAULT_CONTROLLER_GONE = 0x032 |
| const | EXCEPTION_DIMENSION_ARRAY_INVALID = 0x007 |
| const | EXCEPTION_DIR_POINTER_INVALID = 0x019 |
| const | EXCEPTION_EMPTY_STRUCTURES_ARRAY = 0x00c |
| const | EXCEPTION_FATAL_ERROR = 0x035 |
| const | EXCEPTION_FILE_CANNOT_BE_READ = 0x038 |
| const | EXCEPTION_FILE_NOT_FOUND = 0x036 |
| const | EXCEPTION_FILE_POINTER_INVALID = 0x01a |
| const | EXCEPTION_GENDER_IS_WRONG = 0x00a |
| const | EXCEPTION_GETTER_IS_MISSING = 0x01e |
| const | EXCEPTION_HARBOR_HAS_NO_SHIPYARDS = 0x010 |
| const | EXCEPTION_HAS_ALREADY_PERSONELL_LIST = 0x00d |
| const | EXCEPTION_HEADERS_ALREADY_SENT = 0x031 |
| const | EXCEPTION_ID_IS_INVALID_FORMAT = 0x021 |
| const | EXCEPTION_INDEX_OUT_OF_BOUNDS = 0x006 |
| const | EXCEPTION_INVALID_DIRECTORY_POINTER = 0x01b |
| const | EXCEPTION_INVALID_PATH_NAME = 0x016 |
| const | EXCEPTION_INVALID_STRING = 0x029 |
| const | EXCEPTION_IS_NO_ARRAY = 0x003 |
| const | EXCEPTION_IS_NO_OBJECT = 0x002 |
| const | EXCEPTION_IS_NULL_POINTER = 0x001 |
| const | EXCEPTION_ITEM_IS_NO_ARRAY = 0x027 |
| const | EXCEPTION_ITEM_NOT_IN_PRICE_LIST = 0x009 |
| const | EXCEPTION_ITEM_NOT_TRADEABLE = 0x008 |
| const | EXCEPTION_LIMIT_ELEMENT_IS_UNSUPPORTED = 0x01d |
| const | EXCEPTION_MD5_CHECKSUMS_MISMATCH = 0x022 |
| const | EXCEPTION_MISMATCHING_COMPRESSORS = 0x025 |
| const | EXCEPTION_MISSING_ELEMENT = 0x030 |
| const | EXCEPTION_MISSING_FILE_IO_HANDLER = 0x02f |
| const | EXCEPTION_MISSING_LANGUAGE_HANDLER = 0x02e |
| const | EXCEPTION_MISSING_METHOD = 0x004 |
| const | EXCEPTION_NOT_ENOUGTH_UNEMPLOYEES = 0x00e |
| const | EXCEPTION_PATH_NOT_FOUND = 0x015 |
| const | EXCEPTION_READ_PROTECED_PATH = 0x017 |
| const | EXCEPTION_REQUIRED_INTERFACE_MISSING = 0x034 |
| const | EXCEPTION_SIMULATOR_ID_INVALID = 0x024 |
| const | EXCEPTION_TEMPLATE_ENGINE_UNSUPPORTED = 0x02d |
| const | EXCEPTION_TOTAL_PRICE_NOT_CALCULATED = 0x00f |
| const | EXCEPTION_UNEXPECTED_EMPTY_STRING = 0x014 |
| const | EXCEPTION_UNEXPECTED_OBJECT = 0x01c |
| const | EXCEPTION_UNEXPECTED_STRING_SIZE = 0x023 |
| const | EXCEPTION_VARIABLE_NOT_SET = 0x02a |
| const | EXCEPTION_WRITE_PROTECED_PATH = 0x018 |
Protected Member Functions | |
| __construct () | |
| Protected constructor. | |
| getApplicationInstance () | |
| Protected getter for a manageable application helper class. | |
| getDatabaseEntry () | |
| "Getter" for databse entry | |
| getFileIoInstance () | |
| Private getter for file IO instance. | |
| getLanguageInstance () | |
| Private getter for language instance. | |
| getTableName () | |
| Getter for table name. | |
| getTemplateInstance () | |
| Getter for template engine instances. | |
| partialStub ($message="") | |
| Output a partial stub message for the caller method. | |
| prepareTemplateInstance (BaseFrameworkSystem $appInstance=null) | |
| Prepare the template engine (WebTemplateEngine by default) for a given application helper instance (ApplicationHelper by default). | |
| setResultInstance (SearchableResult $resultInstance) | |
| Setter for database result instance. | |
| setTableName ($tableName) | |
| Setter for table name. | |
| setTemplateInstance (CompileableTemplate $templateInstance) | |
| Setter for template engine instances. | |
| setUserInstance (ManageableAccount $userInstance) | |
| Protected setter for user instance. | |
1.5.6