| [ Index ] |
PHP Cross Reference of Joomla 1.5.25 |
[Source view] [Print] [Project Stats]
(no description)
| Copyright: | Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. |
| License: | GNU/GPL, see LICENSE.php |
| Version: | $Id: jajax.php 14401 2010-01-26 14:10:00Z louis $ |
| File Size: | 368 lines (10 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 1 file libraries/joomla/utilities/compat/compat.php |
JAJAXHandler:: (4 methods):
ftproot()
ftpverify()
sampledata()
handleError()
JAJAXLang:: (7 methods):
__construct()
_()
load()
_load()
setDebug()
hasKey()
getLanguagePath()
Class: JAJAXHandler - X-Ref
AJAX Task handler class| ftproot($args) X-Ref |
| Method to get the path from the FTP root to the Joomla root directory |
| ftpverify($args) X-Ref |
| Method to verify the ftp values are valid |
| sampledata($args) X-Ref |
| Method to load and execute a sql script |
| handleError(&$error) X-Ref |
| Handle a raised error : for now just silently return param: object $error JError object return: object $error JError object |
| __construct($lang = null) X-Ref |
| Constructor activating the default information of the language |
| _($string, $jsSafe = false) X-Ref |
| Translator function, mimics the php gettext (alias _) function param: string $string The string to translate param: boolean $jsSafe Make the result javascript safe return: string The translation of the string |
| load( $prefix = '', $basePath = JPATH_BASE ) X-Ref |
| Loads a single language file and appends the results to the existing strings param: string $prefix The prefix param: string $basePath The basepath to use |
| _load( $filename ) X-Ref |
| Loads a language file and returns the parsed values param: string The name of the file return: mixed Array of parsed values if successful, boolean False if failed |
| setDebug($debug) X-Ref |
| Set the Debug property |
| hasKey($key) X-Ref |
| Determines is a key exists param: key $key The key to check return: boolean True, if the key exists |
| getLanguagePath($basePath = JPATH_BASE, $language = null ) X-Ref |
| Get the path to a language param: string $basePath The basepath to use param: string $language The language tag return: string language related path or null |
| Generated: Mon Nov 14 16:47:20 2011 | Cross-referenced by PHPXref 0.7.1 |