API documentation :: Docs For Class arbitModuleModelWikiPage
Packages:Interfaces:
Classes:
|
Wiki::Model::arbitModuleModelWikiPageClass arbitModuleModelWikiPageProject model Project model arbitBaseStruct | --arbitModelBase | --arbitModuleModelWikiPageAuthor(s):
Member Variables
Inherited Member Variables
Method Summary
Inherited Methods
Methodsdiff
static array
diff(
arbitModuleModelWikiPage
$from
, arbitModuleModelWikiPage
$to
)
Diff two wiki pages Calculate the diff between two wiki pages. Diff two wiki pages Calculate the diff between two wiki pages. Parameters:
findByTitle
static mixed
findByTitle(
string
$namespace
, string
$title
)
Find wiki page by title Return the wiki page with the specified title, or false, when no wiki page with the defined title could be found. Find wiki page by title Return the wiki page with the specified title, or false, when no wiki page with the defined title could be found. Parameters:
getLastEdits
static array
getLastEdits(
string
$namespace
, [int
$skip
= 0] )
Get last edited documents Get an array with the documents, edited last. Get last edited documents Get an array with the documents, edited last. Parameters:
getPageCount
static array
getPageCount(
string
$namespace
)
Get count of available pages Get count of available pages Get count of available pages in the wiki with the given namespace Parameters:
attachFile
void
attachFile(
string
$name
, string
$fileName
, [
$info
= array()] )
Attach file to page Attach file to page Parameters:
create
mixed
create(
)
Method called to create a new instance in the backend. Method called to create a new instance in the backend. Method called when the model should be created in the backend the first time. This will normally throw an error if a model with the same identifier already exists in the backend. Redefinition of:
createFromRevision
arbitModuleModelWikiPage
createFromRevision(
mixed
$id
,
$data
)
Create model from revision data Create a arbitModuleModelWikiPage from the array containing the data of one revision. Create model from revision data Create a arbitModuleModelWikiPage from the array containing the data of one revision. Parameters:
delete
void
delete(
)
Method called to delete a instance in the backend. Method called to delete a instance in the backend. Method called when the model should be deleted in the backend the first time. This will normally throw an error if a model with the given ID does not exist in the backend. getAttachment
string
getAttachment(
string
$name
)
Get attachment contents Return the contents of the attachment specified by its storage file name. Get attachment contents Return the contents of the attachment specified by its storage file name. Parameters:
getPageData
void
getPageData(
)
Fetch the basic project data Fetch the basic project data Fetch the basic project data getVersion
arbitModuleModelWikiPage
getVersion(
int
$version
)
Get specified version of wiki page Return a arbitModuleModelWikiPage object for the specified version of the current wiki page. Get specified version of wiki page Return a arbitModuleModelWikiPage object for the specified version of the current wiki page. Parameters:
storeChanges
void
storeChanges(
)
Method called to store changes to the model. Method called to store changes to the model. Method called to store changes in the model to the backend. The method should only modify the backend data, if something really has been changed in the model. Use the __set() method, which should wrap all write access to the model, to remember write access. Redefinition of:
Documentation generated on Mon, 05 Apr 2010 14:02:08 +0200 by phpDocumentor 1.4.3
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||