J.P.A.L.

 

Reference

Page history last edited by vietmusic 2 yrs ago

Reference Index

 


 

AJAX functions

 

These are some basic functions that the library uses to perform its tasks. You may find some use for them yourself in your Javascript applications, especially if you need to extend the library somehow when a new API function is created.

 

getXmlHttpObject

request


 

API functions

 

These are direct translations of functions from the PBwiki API. Those with an * after them are functions not yet implemented in the API (though they may be on the list), but already work in JPAL.

 

Page Read Functions

 

getAllPages

getPage

getPageHistory

getRecentChanges

getSiteInfo

renderContent

 

Page Write Functions

 

addPage

appendPage*

changePage

deletePage

 

File Functions

 

addFile

deleteFile

getAllFiles

getFile

 

Miscellaneous Functions

 

verifyAccess


 

API Extensions

 

These functions are specific to JPAL but are clearly API related. writeFile, for example, uses the file-access functions to first check for whether a file exists, gets overwrite confirmation, and makes a backup of the existing file if possible.

 

error

functionOk

writeFile


 

General Utilities

 

Utility functions useful to API-based applications but not explicitly API functions.

 

extMask

getFileExt

genKey


 

Related Variables

 

Some variables used by JPAL.

 

apikey

functionList

keys

status

Comments (0)

You don't have permission to comment on this page.