Wiki Class Reference

Inheritance diagram for Wiki:
BackboneModel

List of all members.

Public Member Functions

 Wiki ($article)
 getText ()
 toArray ()
 create ()
 update ()
 delete ()
 exists ()
 getCacheId ()

Static Public Member Functions

static newFromId ($id)
static newFromTitle ($text)
static getWikiPages ($namespace)
static getFiles ($namespace)

Public Attributes

 $id
 $ns
 $title
 $url
 $text
 $article

Member Function Documentation

Wiki::create (  ) 

Creates a new record in the DB for this BackboneModel

Returns:
boolean Returns whether or not the creation was successful or not

Reimplemented from BackboneModel.

Wiki::delete (  ) 

Deletes the record in the DB for this BackboneModel

Returns:
boolean Returns whether or not the deletion was successful or not

Reimplemented from BackboneModel.

Wiki::exists (  ) 

Returns whether or not this BackboneModel exists or not

Returns:
boolean Returns whether or not this BackboneModel exists or not

Reimplemented from BackboneModel.

Wiki::getCacheId (  ) 

Returns the id of this BackboneModel's cache

Returns:
string Returns the id of this BackboneModel's cache

Reimplemented from BackboneModel.

Wiki::toArray (  ) 

Generates and returns an array version of this BackboneModel

Returns:
array Returns an array version of this BackboneModel

Reimplemented from BackboneModel.

Wiki::update (  ) 

Updates the record in the DB for this BackboneModel

Returns:
boolean Returns whether or not the update was successful or not

Reimplemented from BackboneModel.


The documentation for this class was generated from the following file:

Generated on 9 Jan 2025 for The Forum by  doxygen 1.6.1