public
array
|
#
listPages( )
Returns a list of available pages.
Returns a list of available pages.
Returns
array An array of all available pages.
Throws
|
public
string
|
#
getPageSource( string $pageName )
Get the wiki source of a page specified by its name.
Get the wiki source of a page specified by its name.
Parameters
- $pageName
- $name The name of the page to fetch
Returns
string Page data.
Throws
|
public
array
|
#
getPageInfo( string $pageName )
Return basic page information.
Return basic page information.
Parameters
Returns
array Page data.
Throws
|
public
array
|
#
getMultiplePageInfo( array $pages = array() )
Return basic pages information.
Return basic pages information.
Parameters
- $pages
- Page names to get info for
Returns
array Pages data.
Throws
|
public
array
|
#
getPageHistory( string $pagename )
Return page history.
Parameters
Returns
array An array of page parameters.
Throws
|
public
|
#
editPage( string $pagename, string $text, string $changelog = '' )
Updates content of a wiki page. If the page does not exist it is
created.
Updates content of a wiki page. If the page does not exist it is
created.
Parameters
- $pagename
- Page to edit
- $text
- Page content
- $changelog
- Description of the change
Throws
|