API documentation :: Docs For Class arbitCouchDbWikiPageFacade
Packages:Interfaces:
Classes:
|
Wiki::Facade::arbitCouchDbWikiPageFacadeClass arbitCouchDbWikiPageFacadePage facade defining all methods required to access page related data in the backend. Page facade defining all methods required to access page related data in the backend. Implements interfaces:arbitCouchDbFacadeBase | --arbitCouchDbWikiPageFacadeAuthor(s):
Inherited Member Variables
Method Summary
Inherited Methods
MethodsattachFile
void
attachFile(
mixed
$id
, string
$fileName
, string
$mimeType
)
Attach file to page Attach a file to the page specified by its ID. given as a third parameter and should also be stored. Attach file to page Attach a file to the page specified by its ID. The files mime type is given as a third parameter and should also be stored. Parameters:
Implementation of:
createPage
mixed
createPage(
string
$namespace
, string
$title
)
Create a new page Create a new page with the given name. if there already is a page with the given name. Create a new page Create a new page with the given name. An exception will be thrown if there already is a page with the given name. The ID generated by the backend in some way is returned for later reference. The type of the identifier depends on the backend, no assumptions should be made here. Parameters:
Implementation of:
deletePage
void
deletePage(
string
$id
)
Delete a page Delete the page with the given ID permanently from the backend. Delete a page Delete the page with the given ID permanently from the backend. Parameters:
Implementation of:
findByTitle
mixed
findByTitle(
string
$namespace
, string
$title
)
Find wiki page by title Find wiki page by its title and return the ID of the wiki page, or false, if it does not exist. Find wiki page by title Find wiki page by its title and return the ID of the wiki page, or false, if it does not exist. Parameters:
Implementation of:
getFileContents
string
getFileContents(
mixed
$id
, string
$fileName
)
Get file contents Return the contents of the file specified by its storage file name. Get file contents Return the contents of the file specified by its storage file name. Parameters:
Implementation of:
getPageCount
int
getPageCount(
string
$namespace
)
Get page count Get the number of wiki pages in the curretn namespace. Get page count Get the number of wiki pages in the curretn namespace. Parameters:
Implementation of:
getPageData
array
getPageData(
string
$page
)
Get page data Get page data Get data for the given page id. The data should be returned as an array, and should contain the following keys:
Parameters:
Implementation of:
lastEdits
array
lastEdits(
string
$namespace
, [int
$offset
= 0] , [int
$limit
= 25] )
Last wiki edits Get a list of document IDs, which were edited last, sorted by the edit date, descending. Last wiki edits Get a list of document IDs, which were edited last, sorted by the edit date, descending. Parameters:
Implementation of:
updatePageData
void
updatePageData(
string
$page
, array
$data
)
Update stored information for the given page The array with the information to update may any number of the common keys, and only the given keys will be updated in the storage backend. Update stored information for the given page The array with the information to update may any number of the common keys, and only the given keys will be updated in the storage backend. Parameters:
Implementation of:
Documentation generated on Mon, 05 Apr 2010 14:02:09 +0200 by phpDocumentor 1.4.3
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||