Squiz Matrix
4.12.2
|
Additional Inherited Members | |
Data Fields inherited from Page_Asset_Builder | |
$_current_state = '' | |
$_errors = Array() | |
$_replacements = Array() | |
$_default_state = 'create' | |
Protected Member Functions inherited from Page | |
_preCreateCheck (Array &$link) | |
_createAdditional (Array &$link) | |
_getName ($short_name=FALSE) | |
Definition at line 33 of file page_account_manager.inc.
__construct | ( | $assetid = 0 | ) |
Constructor
int | $assetid | the asset id to be loaded |
Definition at line 43 of file page_account_manager.inc.
_createPendingAccountsGroup | ( | ) |
Create the pending accounts user group
Definition at line 1027 of file page_account_manager.inc.
_getAllowedLinks | ( | ) |
Returns an array of all the permitted link type, the type asset and the cardinality
Definition at line 314 of file page_account_manager.inc.
_getBodycopies | ( | ) |
Return an array of bodycopies that need to be created
Definition at line 654 of file page_account_manager.inc.
_getCreateLoginKeywords | ( | ) |
Get the keyword replacements used in not_logged_in bodycopy
Definition at line 1215 of file page_account_manager.inc.
& _getCurrentPendingUser | ( | ) |
Get the current pending user (for a request that came from a validation email)
Definition at line 1067 of file page_account_manager.inc.
_getLoggedInKeywords | ( | ) |
Get the keyword replacements used in not_logged_in bodycopy
Definition at line 1184 of file page_account_manager.inc.
_getNotLoggedInKeywords | ( | ) |
Get the keyword replacements used in not_logged_in bodycopy
Definition at line 1236 of file page_account_manager.inc.
_getPendingAccountsGroupId | ( | ) |
Get the ID of the Pending Accounts group
Definition at line 1049 of file page_account_manager.inc.
_getPendingUserIds | ( | ) |
Return an array of the currently pending users
Definition at line 1115 of file page_account_manager.inc.
_loadCreateReplacements | ( | ) |
Loads keyword replacements for the create asset interface, into the Asset Builder
Definition at line 201 of file page_account_manager.inc.
_modifyCreateLink | ( | & | $link | ) |
Takes the default link that was created and allows for adjustments if necessary
array | &$link | the current link array |
Definition at line 572 of file page_account_manager.inc.
_processGlobalActions | ( | ) |
Process any global Account Manager actions
This function builds on the Asset Builder one by auto filling the username field of the login form that may be printed once the user account has been created.
Definition at line 334 of file page_account_manager.inc.
_removePendingUserFromPendingGroup | ( | $userid | ) |
Remove a user from the pending-users group
string | $userid | the assetid of the pending user to remove |
Definition at line 1093 of file page_account_manager.inc.
_setCreateStatus | ( | & | $new_asset | ) |
Sets the status of the newly created asset
If we are using email validation we dont change the status of the new asset
object | &$new_asset | the newly created asset |
Definition at line 592 of file page_account_manager.inc.
backendAccess | ( | ) |
Determine if the current user is allowed into this asset's backend interface
Definition at line 637 of file page_account_manager.inc.
create | ( | & | $link | ) |
Create this asset
The return value will be:
array | &$link | information used to create the initial link |
Definition at line 64 of file page_account_manager.inc.
getCreateLocations | ( | $create_type | ) |
Work out the create locations for a new asset
Account manager replaces the create location list with its pending-accounts group when email validation is enabled, but it still checks the parent create locations to make sure there will be somewhere to move the user to after it's been validated.
string | $create_type | the type of asset we are getting create locations for |
Definition at line 546 of file page_account_manager.inc.
getEditDetailsLockErrorKeywordReplacement | ( | ) |
Get edit_details_lock_error keyword replacement
Definition at line 1280 of file page_account_manager.inc.
getEditDetailsSuccessKeywordReplacement | ( | ) |
Get edit_details_success keyword replacement
Definition at line 1293 of file page_account_manager.inc.
getLoginFormKeywordReplacement | ( | ) |
Get login_form keyword replacement
Definition at line 1319 of file page_account_manager.inc.
getLogoutFormKeywordReplacement | ( | ) |
Get logout_form keyword replacement
Definition at line 1338 of file page_account_manager.inc.
getReSendValidationFormKeywordReplacement | ( | ) |
Get edit_details_lock_error keyword replacement
Definition at line 1264 of file page_account_manager.inc.
getReSendValidationSuccessKeywordReplacement | ( | ) |
Get edit_details_success keyword replacement
Definition at line 1306 of file page_account_manager.inc.
getSelectedCreateLocationsForPendingUser | ( | $userid | ) |
Returns a list of selected create locations for a specified pending user
string | $userid | the userid of the pending user |
Definition at line 688 of file page_account_manager.inc.
getValidationKeyForUser | ( | & | $user | ) |
Returns the validation key for the supplied user.
object | &$user | The user we want the validation key for |
Definition at line 1009 of file page_account_manager.inc.
hipoDeleteUser | ( | $index, | |
$item, | |||
$settings | |||
) |
A Quick HIPO callback function that deletes a user that is passetd to it
mixed | $index | The index of the item currently being processed |
mixed | $item | The complete list of items to process |
mixed | $settings | An array containing whatever settings this Quick HIPO requires |
Definition at line 883 of file page_account_manager.inc.
hipoValidateUser | ( | $index, | |
$item, | |||
$settings | |||
) |
A Quick HIPO callback function that validates a user passed to it
mixed | $index | The index of the item currently being processed |
mixed | $item | The complete list of items to process |
array | $settings | An array containing whatever settings this Quick HIPO requires |
Definition at line 861 of file page_account_manager.inc.
initLimbo | ( | ) |
Initialise the limbo (simple-edit) interface by painting to the limbo outputter
This function should be overridden if assets want to expose another asset's interface instead of their own. By default, the normal backend is printed for the default screen.
Definition at line 219 of file page_account_manager.inc.
onRequestKeywords | ( | & | $broadcaster, |
$vars = Array() |
|||
) |
Add valid keywords for this asset to an array of keywords when asked
object | &$broadcaster | the asset that triggered the event |
array | $vars | the vars that get submitted by the broadcaster we add keywords to the $vars['keywords'] array |
Definition at line 1145 of file page_account_manager.inc.
printFrontend | ( | ) |
Prints out the Frontend for this asset
Definition at line 163 of file page_account_manager.inc.
printLimbo | ( | ) |
Called by the design to print the body of this asset when in limbo
Definition at line 232 of file page_account_manager.inc.
processBackend | ( | & | $o, |
& | $link | ||
) |
Processes a backend submission from this asset, returns true if all OK
object | &$o | Backendoutputer |
array | &$link | information used to create the initial link |
Definition at line 612 of file page_account_manager.inc.
resendValidation | ( | $username = NULL | ) |
Re-sends validation email to specified user
string | $username | The username of the user to resend the email for (optional) |
Definition at line 928 of file page_account_manager.inc.
saveAttributes | ( | $dont_run_updated = FALSE | ) |
Save attributes set with setAttrValue to the database
boolean | $dont_run_updated | if true this->_updated() won't be run (THIS IS ONLY EVER CALLED FROM Asset::create()) |
Definition at line 89 of file page_account_manager.inc.
validateUser | ( | & | $user | ) |
Validates the passed user
object | &$user | the user to validate |
Definition at line 713 of file page_account_manager.inc.