PHP Class mtv\wp\models\User

Inheritance: extends mtv\models\Model
Mostrar archivo Open project: newsapps/wordpress-mtv

Public Properties

Property Type Description
$collection
$defaults
$editable_json_fields
$json_fields

Public Methods

Method Description
__toString ( )
activate ( $key )
fetch ( )
get_avatar ( )
initialize ( $attrs )
parse ( &$userdata )
register ( )
save ( )
signon ( $kwargs ) signon Takes an array of keyword arguments, attempts to find the user and sign him/her on.
sites ( ) sites Returns a SiteCollection containing all the sites this user is connected to.
to_json ( )
validate ( )

Method Details

__toString() public method

public __toString ( )

activate() public static method

public static activate ( $key )

fetch() public method

public fetch ( )

get_avatar() public method

public get_avatar ( )

initialize() public method

public initialize ( $attrs )

parse() public method

public parse ( &$userdata )

register() public method

public register ( )

save() public method

public save ( )

signon() public static method

signon Takes an array of keyword arguments, attempts to find the user and sign him/her on.
public static signon ( $kwargs )

sites() public method

sites Returns a SiteCollection containing all the sites this user is connected to.
public sites ( )

to_json() public method

public to_json ( )

validate() public method

public validate ( )

Property Details

$collection public_oe static_oe property

public static $collection

$defaults public_oe property

public $defaults

$editable_json_fields public_oe property

public $editable_json_fields

$json_fields public_oe property

public $json_fields