Show:

Users_AppUser_Android Class

Class representing Android app user.

Methods

__set_state

(
  • $array
)
Users_AppUser

Implements the __set_state method, so it can work with with var_export and be re-imported successfully.

Parameters:

  • $array Array

Returns:

Users_AppUser:

Class instance

clearExtra

(
  • $extraName
)

Parameters:

  • $extraName String

    The name of the extra to remove

getAllExtras

() Array

Returns:

Array:

The array of all extras set in the stream

getExtra

(
  • $extraName
  • $default
)
Mixed

Parameters:

  • $extraName String

    The name of the extra to get

  • $default Mixed

    The value to return if the extra is missing

Returns:

Mixed:

The value of the extra, or the default value, or null

setExtra

(
  • $extraName
  • $value
)

Parameters:

  • $extraName String

    The name of the extra to set, or an array of $extraName => $extraValue pairs

  • $value Mixed

    The value to set the extra to

Returns:

Users_AppUser

setUp

()

The setUp() method is called the first time an object of this class is constructed.