PHP Class mtv\wp\models\User

Inheritance: extends mtv\models\Model
Afficher le fichier Open project: newsapps/wordpress-mtv

Méthodes publiques

Свойство Type Description
$collection
$defaults
$editable_json_fields
$json_fields

Méthodes publiques

Méthode 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 méthode

public __toString ( )

activate() public static méthode

public static activate ( $key )

fetch() public méthode

public fetch ( )

get_avatar() public méthode

public get_avatar ( )

initialize() public méthode

public initialize ( $attrs )

parse() public méthode

public parse ( &$userdata )

register() public méthode

public register ( )

save() public méthode

public save ( )

signon() public static méthode

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

sites() public méthode

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

to_json() public méthode

public to_json ( )

validate() public méthode

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