Overview

Packages

  • akismet
  • None
  • PHP
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • plugins
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Signatures
    • Signed
    • Transport
  • wa-apps
    • blog
      • actions
        • backend
        • blog
        • comment
        • cron
        • design
        • frontend
        • page
        • plugin
        • post
      • api
        • v1
      • cli
      • layout
      • model
      • plugin
        • aksimet
        • category
        • emailsubscription
        • favorite
        • gravatar
        • import
        • markdown
        • myposts
        • tag
        • troll
      • settings
    • checklists
      • backend
      • json
    • contacts
      • backend
    • developer
    • dummy
    • guestbook
    • guestbook2
    • photos
      • album
      • api
        • v1
      • backend
      • design
      • dialog
      • frontend
      • page
      • photo
      • plugin
        • comment
        • imageeffects
        • import
        • publicgallery
        • watermark
      • search
      • settings
      • stack
      • tag
      • upload
    • site
      • backend
      • blocks
      • config
      • design
      • domains
      • files
      • frontend
      • helper
      • layout
      • pages
      • routing
      • setting
    • stickies
      • api
        • v1
      • sheet
      • stiky
  • wa-plugin
    • payment
    • shipping
    • sms
  • wa-plugins
    • shipping
      • usps
  • wa-system
    • API
    • Auth
      • Adapters
    • Autoload
    • Cache
      • Adapter
    • Captcha
    • Config
    • Contact
    • controller
    • currency
    • database
    • datetime
    • design
    • event
    • exception
    • files
    • image
    • layout
    • locale
    • log
    • mail
    • page
      • action
      • model
    • payment
    • plugin
    • request
    • response
    • routing
    • shipping
    • sms
    • storage
    • user
    • util
    • validator
    • view
    • webasyst
      • api
      • backend
      • cli
      • config
      • layout
      • login
      • model
      • password
      • payment
      • profile
      • settings
      • shipment
    • widget
    • workflow
  • waPlugins
    • Payment
  • webasyst
    • wa-system
      • helper

Classes

  • waAuthUser
  • waUser
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class waUser

This file is part of Webasyst framework.

Licensed under the terms of the GNU Lesser General Public License (LGPL). http://www.webasyst.com/framework/license/

waContact implements ArrayAccess
Extended by waUser

Direct known subclasses

waAuthUser
Package: wa-system\user
Copyright: 2011 Webasyst LLC
Author: Webasyst LLC
Link: http://www.webasyst.com/
Located at wa-system/user/waUser.class.php
Methods summary
public
# init( )

Overrides

waContact::init()
public static waUser
# getByLogin( string $login )

get waUser by login

get waUser by login

Parameters

$login
string
$login

Returns

waUser
or null if no user with this login exists
public string
# getLogin( )

Returns login of the user

Returns login of the user

Returns

string
public static
# getStatusByInfo( mixed $info )
public
# getGroupIds( )
public
# offsetSet( mixed $offset, mixed $value )

Overrides

waContact::offsetSet()
public static array
# getUsers( string $app_id = null )

Returns list of the users

Returns list of the users

Parameters

$app_id
string
$app_id - if specified returns only users whish has access to the application

Returns

array
public static array
# getAllGroups( )

Returns list of all user groups

Returns list of all user groups

Returns

array
- associative array with key group id and value group name

Example

returns array( 1 => 'Group 1', 2 => 'Group 2', ... )
public
# getGroups( mixed $with_names = false )
public
# getApps( mixed $sorted = true )
public static
# revokeUser( mixed $id )
Methods inherited from waContact
__construct(), add(), addToCategory(), clearDisabledFields(), delSettings(), delete(), exists(), get(), getCache(), getCode(), getFirst(), getId(), getLocale(), getName(), getOption(), getPasswordHash(), getPhoto(), getPhoto2x(), getPhotoDir(), getPhotoUrl(), getRights(), getSettings(), getStatus(), getTime(), getTimezone(), isAdmin(), issetCache(), load(), offsetExists(), offsetGet(), offsetUnset(), removeCache(), save(), set(), setCache(), setCacheFor(), setPassword(), setPhoto(), setRight(), setSettings(), validate()
Properties summary
protected mixed $apps
#
Properties inherited from waContact
$cache, $data, $id, $options, $settings
My fork of Webasyst Framework API documentation generated by ApiGen 2.8.0