- Description
-
Class trees
Index of elements
Todo List
Interfaces
Phpfox_Cache_Interface
Phpfox_Database_Interface
Phpfox_Gateway_Interface
Phpfox_Image_Interface
Phpfox_Mail_Interface
Classes
Database_Driver_Mssql
Database_Driver_Oracle
Database_Driver_Postgres
Database_Driver_Sqlite
Phpfox
Phpfox_Ajax
Phpfox_Api
Phpfox_Archive
Phpfox_Archive_Export
Phpfox_Archive_Extension_Tar
Phpfox_Archive_Extension_Xml
Phpfox_Archive_Extension_Zip
Phpfox_Archive_Import
Phpfox_Archive_Support
Phpfox_Cache
Phpfox_Cache_Abstract
Phpfox_Cache_Storage_File
Phpfox_Cache_Storage_Memcache
Phpfox_Cdn
Phpfox_Cdn_Abstract
Phpfox_Cdn_Module_S3
Phpfox_Component
Phpfox_Cron
Phpfox_Database
Phpfox_Database_Dba
Phpfox_Database_Driver_Mysql
Phpfox_Database_Driver_Mysqli
Phpfox_Database_Export
Phpfox_Database_Support
Phpfox_Date
Phpfox_Debug
Phpfox_Diff_Md5
Phpfox_Editor
Phpfox_Error
Phpfox_File
Phpfox_File_Minimize
Phpfox_Ftp
Phpfox_Gateway
Phpfox_Gateway_Api_2checkout
Phpfox_Gateway_Api_Paypal
Phpfox_Hash
Phpfox_Image
Phpfox_Image_Abstract
Phpfox_Image_Helper
Phpfox_Image_Library_Gd
Phpfox_Locale
Phpfox_Mail
Phpfox_Mail_Driver_Phpmailer_Mail
Phpfox_Mail_Driver_Phpmailer_Smtp
Phpfox_Module
Phpfox_Pager
Phpfox_Parse_Bbcode
Phpfox_Parse_Css
Phpfox_Parse_Format
Phpfox_Parse_Input
Phpfox_Parse_Output
Phpfox_Parse_Wiki
Phpfox_Plugin
Phpfox_Process
Phpfox_Request
Phpfox_Search
Phpfox_Search_Inline
Phpfox_Server
Phpfox_Service
Phpfox_Session
Phpfox_Session_Handler
Phpfox_Session_Handler_Default
Phpfox_Session_Handler_File
Phpfox_Session_Handler_Memcache
Phpfox_Session_Storage_Cookie
Phpfox_Session_Storage_Session
Phpfox_Setting
Phpfox_Spam
Phpfox_Spam_Hash
Phpfox_Template
Phpfox_Url
Phpfox_Validator
Phpfox_Xml_Builder
Phpfox_Xml_Parser
Functions
d
e
p
Files
2checkout.class.php
abstract.class.php
abstract.class.php
abstract.class.php
ajax.class.php
api.class.php
archive.class.php
bbcode.class.php
builder.class.php
cache.class.php
cdn.class.php
component.class.php
cookie.class.php
cron.class.php
css.class.php
database.class.php
date.class.php
dba.class.php
debug.class.php
default.class.php
editor.class.php
error.class.php
export.class.php
export.class.php
file.class.php
file.class.php
file.class.php
format.class.php
ftp.class.php
gateway.class.php
gd.class.php
handler.class.php
hash.class.php
hash.class.php
helper.class.php
image.class.php
import.class.php
inline.class.php
input.class.php
interface.class.php
interface.class.php
interface.class.php
interface.class.php
interface.class.php
locale.class.php
mail.class.php
mail.class.php
md5.class.php
memcache.class.php
memcache.class.php
minimize.class.php
module.class.php
mssql.class.php
mysql.class.php
mysqli.class.php
oracle.class.php
output.class.php
pager.class.php
parser.class.php
paypal.class.php
phpfox.class.php
plugin.class.php
postgres.class.php
process.class.php
request.class.php
s3.class.php
search.class.php
server.class.php
service.class.php
session.class.php
session.class.php
setting.class.php
smtp.class.php
spam.class.php
sqlite.class.php
support.class.php
support.class.php
tar.class.php
template.class.php
url.class.php
validator.class.php
wiki.class.php
xml.class.php
zip.class.php
Template-
Classes
Phpfox_Template_Cache
Files
cache.class.php
Phpfox_Ajax
Handles AJAX Requests and returns data outputed
by the specified call which connects to a modules ajax component. Many of the methods within this class returns the classes own object thus allow calls like:
Located in /include/library/phpfox/ajax/ajax.class.php (line 22)
static void
alert
(string $sMessage, [string $sTitle = null], [int $iWidth = 300], [int $iHeight = 150])
static array
$_aCalls
= array() (line 30)
Stores all the AJAX calls.
static array
$_aParams
= array() (line 38)
Holds all the $_POST data when sending information via AJAX.
static bool
$_bShowErrors
= true (line 49)
During an AJAX call you can use "Phpfox_Error::set();" to set error messages and
by default the AJAX class will pick up on these errors and return the error message to the user. However, in some cases you may not want to use the default error reporting routine and create your own and by setting this to false will disable to error reporting routine.
static string
$_sErrorHolder
= null (line 56)
This is the HTML div ID that holds error messages
array
$_aJquery
= array('addClass',
'removeClass',
'val',
'focus',
'show',
'remove',
'hide',
'slideDown',
'slideUp',
'submit',
'attr',
'height',
'width',
'after',
'before',
'fadeOut'
) (line 64)
These are jQuery functions we support, which can be called via this class
array
$_aRequest
= array() (line 96)
Holds the default 'phpfox' parameters being passed by the post request.
object
$_oReq
= null (line 88)
Holds the Request object
static alert (line 468)
At times you may want to notify your users and instead of using the default JavaScript alert() we provide a AJAX popup version that works well with the sites theme.
- string $sMessage: Message to pass to your users
- string $sTitle: Title of the alert box
- int $iWidth: Width of the alert box
- int $iHeight: Height of the alert box
static debug (line 454)
Set debug information which can be picked up with Firebug.
- string $sMsg: Debug information you want to pass to Firebug
Constructor __construct (line 102)
Class Constructor
append (line 272)
jQuery has support for append() and we use that method, however we add a little extra protection with our routine.
- string $sId: HTML id for the element
- string $sContent: Content to append
- string $sExtra: Optional jQuery functions you may want to execute
call (line 292)
Used to call any JavaScript back to the browser once the AJAX routine is complete.
- string $sCall: JavaScript that you plan to execute back to the browser
error (line 331)
Controlls if you want to use our default error system or create your own.
- bool $bShowErrors: True by default and will use our error system | False to create your own.
errorSet (line 341)
We have our own default error div with a specific ID, however you can use this with this function.
- string $sDiv: ID of the HTML element
get (line 182)
Used to get $_POST requests send via an AJAX request
- string $sVar: Name of the post param
- mixed $mDef: You can pass a default value incase the $_POST data was not sent
getAll (line 192)
Get all the $_POST params sent over via an AJAX request
getContent (line 307)
Our product is designed to automatically echo data from components such as blocks and controllers and within an AJAX call we need to get that from the output buffer so we could possible place it within a specific HTML element.
- bool $bClean: Set to true if we should attempt to clean out the content depending on how you plan to return it.
getData (line 351)
This is the final output to the browser once the AJAX request is complete.
html (line 227)
jQuery has support for innerHTML and we use that method, however we add a little extra protection with our routine.
- string $sId: HTML id for the element
- string $sContent: Content to place inside the HTML element
- string $sExtra: Optional jQuery functions you may want to execute
isUser (line 431)
Quick function that can be used to identify if a user is logged it or not and if not they will not be able to use the specific feature and display a login form.
prepend (line 249)
jQuery has support for prepend() and we use that method, however we add a little extra protection with our routine.
- string $sId: HTML id for the element
- string $sContent: Content to prepend
- string $sExtra: Optional jQuery functions you may want to execute
process (line 115)
Process the AJAX request
set (line 204)
Manually set $_POST information if it was not sent via an AJAX request
- mixed $mVar: It can be a string, which will hold the param var or an array of values
- mixed $mDef: This is the default value of the param you are creating
setMessage (line 523)
Sets a public message on the site for the user to see and closes the AJAX popup box for you.
- string $sMessage: Message you want to display to the user.
template (line 535)
Extend template
_ajaxSafe (line 546)
Safe AJAX Code
- string $sStr: String to replace
__call (line 488)
Emulate jQuery calls.
- string $sMethod: jQuery method we are trying to call.
- array $aArguments: Array of option arguments being passed to jQuery.
Documentation generated on Tue, 28 Sep 2010 10:36:36 +0200 by phpDocumentor 1.4.0a2
static