Show:

Users_Link Class

Extends Base_Users_Link
Module: Users

Class representing 'Link' rows in the 'Users' database You can create an object of this class either to access its non-static methods, or to actually represent a link row in the Users database.

Item Index

Methods

__set_state

(
  • $array
)
Users_Link

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

Parameters:

  • $array Array

Returns:

Users_Link:

Class instance

beforeSave

(
  • $modifiedFields
)
Array

Assigns 'secret' and 'token' if empty

Parameters:

  • $modifiedFields Array

Returns:

Array:

setUp

()

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