CMS Made Simple API

Bookmark
in package

Bookmark class for the CMSMS admin console.

Tags
license

GPL

Table of Contents

Properties

$bookmark_id  : int
$title  : string
$url  : string
$user_id  : int

Methods

__construct()  : mixed
Generic constructor. Runs the SetInitialValues fuction.
Delete()  : bool
Delete the record for this Bookmark from the database.
Save()  : bool
Saves the bookmark to the database.
SetInitialValues()  : mixed
Sets object to some sane initial values

Properties

Methods

__construct()

Generic constructor. Runs the SetInitialValues fuction.

public __construct() : mixed

Delete()

Delete the record for this Bookmark from the database.

public Delete() : bool

All values in the object are reset to their initial values.

Return values
bool

Save()

Saves the bookmark to the database.

public Save() : bool

If no id is set, then a new record is created. Otherwise, the record is updated to all values in the Bookmark object.

Return values
bool

SetInitialValues()

Sets object to some sane initial values

public SetInitialValues() : mixed

        
On this page

Search results