Bookmark View code

Bookmark class for the CMSMS admin console.

package

CMS

license

GPL

Methods

__construct() 

Generic constructor. Runs the SetInitialValues fuction.

SetInitialValues() 

Sets object to some sane initial values

Save() : boolean

Saves the bookmark to the database.

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

Response

boolean

Delete() : boolean

Delete the record for this Bookmark from the database.

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

Response

boolean

Properties

The bookmark id

bookmark_id : integer

Type(s)

integer

Admin user (owner) ID

user_id : integer

Type(s)

integer

The bookmark title

title : string

Type(s)

string

The bookmark URL

url : string

Type(s)

string