The Red Matrix
 All Classes Namespaces Files Functions Variables Pages
account.php File Reference

Functions

 check_account_email ($email)
 
 check_account_password ($password)
 
 check_account_invite ($invite_code)
 
 check_account_admin ($arr)
 
 account_total ()
 
 create_account ($arr)
 
 verify_email_address ($arr)
 
 send_reg_approval_email ($arr)
 
 send_verification_email ($email, $password)
 
 user_allow ($hash)
 
 user_deny ($hash)
 
 user_approve ($hash)
 
 downgrade_accounts ()
 
 service_class_allows ($uid, $property, $usage=false)
 
 service_class_fetch ($uid, $property)
 
 account_service_class_fetch ($aid, $property)
 
 upgrade_link ($bbcode=false)
 
 upgrade_message ($bbcode=false)
 
 upgrade_bool_message ($bbcode=false)
 

Function Documentation

account_service_class_fetch (   $aid,
  $property 
)
account_total ( )

Referenced by create_account(), and zfinger_init().

check_account_admin (   $arr)

Referenced by create_account().

check_account_email (   $email)

Referenced by create_account(), and register_init().

check_account_invite (   $invite_code)

Referenced by create_account(), and register_init().

check_account_password (   $password)

Referenced by create_account(), and register_init().

create_account (   $arr)

Referenced by register_post().

downgrade_accounts ( )

downgrade_accounts() Checks for accounts that have past their expiration date. If the account has a service class which is not the site default, the service class is reset to the site default and expiration reset to never. If the account has no service class it is expired and subsequently disabled. called from include/poller.php as a scheduled task.

Reclaiming resources which are no longer within the service class limits is not the job of this function, but this can be implemented by plugin if desired. Default behaviour is to stop allowing additional resources to be consumed.

Referenced by poller_run().

send_reg_approval_email (   $arr)

Referenced by register_post().

send_verification_email (   $email,
  $password 
)

Referenced by register_post().

service_class_allows (   $uid,
  $property,
  $usage = false 
)
upgrade_bool_message (   $bbcode = false)
upgrade_link (   $bbcode = false)
user_allow (   $hash)
user_approve (   $hash)

Referenced by regver_content().

user_deny (   $hash)
verify_email_address (   $arr)

Referenced by register_post().