[ Index ] |
|
Code source de Joomla 1.0.13 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Copyright: | Copyright (C) 2005 Open Source Matters. All rights reserved. |
License: | http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php |
Version: | $Id: joomla.php 8078 2007-07-19 06:45:54Z robs $ |
Poids: | 6146 lignes (171 kb) |
Inclus ou requis: | 6 fois |
Référencé: | 0 fois |
Nécessite: | 11 fichiers includes/phpInputFilter/class.inputfilter.php includes/gacl_api.class.php includes/pathway.php includes/joomla.xml.php includes/phpmailer/class.phpmailer.php includes/agent_browser.php includes/joomla.cache.php includes/gacl.class.php includes/database.php includes/version.php includes/agent_os.php |
mosProfiler:: (3 méthodes):
mosProfiler()
mark()
getmicrotime()
mosAbstractLog:: (4 méthodes):
mosAbstractLog()
__constructor()
log()
getLog()
mosAbstractTasker:: (12 méthodes):
mosAbstractTasker()
setAccessControl()
accessCheck()
setRedirect()
redirect()
registerTask()
registerDefaultTask()
performTask()
getTask()
taskNotFound()
methodNotFound()
notAllowed()
mosCache:: (2 méthodes):
getCache()
cleanCache()
mosMainFrame:: (43 méthodes):
mosMainFrame()
getClientID()
getClientName()
getBasePath()
setPageTitle()
addMetaTag()
appendMetaTag()
prependMetaTag()
addCustomHeadTag()
getHead()
getPageTitle()
getCustomPathWay()
appendPathWay()
getUserState()
getUserStateFromRequest()
setUserState()
initSession()
initSessionAdmin()
setSessionGarbageClean()
sessionCookieName()
sessionCookieValue()
remCookieName_User()
remCookieName_Pass()
remCookieValue_User()
remCookieValue_Pass()
login()
logout()
getUser()
getCfg()
_setTemplate()
getTemplate()
_setAdminPaths()
getPath()
detect()
getItemid()
getBlogSectionCount()
getBlogCategoryCount()
getGlobalBlogSectionCount()
getStaticContentCount()
getContentItemLinkCount()
set()
get()
isAdmin()
mosComponent:: (1 méthode):
mosComponent()
mosHTML:: (17 méthodes):
makeOption()
writableCell()
selectList()
integerSelectList()
monthSelectList()
treeSelectList()
yesnoSelectList()
radioList()
yesnoRadioList()
idBox()
sortIcon()
CloseButton()
BackButton()
cleanText()
PrintIcon()
emailCloaking()
encoding_converter()
mosCategory:: (2 méthodes):
mosCategory()
check()
mosSection:: (2 méthodes):
mosSection()
check()
mosContent:: (3 méthodes):
mosContent()
check()
toXML()
mosMenu:: (2 méthodes):
mosMenu()
check()
mosUser:: (5 méthodes):
mosUser()
check()
store()
delete()
getUserListFromGroup()
mosTemplate:: (9 méthodes):
mosTemplate()
mosGetParam()
mosStripslashes()
mosBindArrayToObject()
mosReadDirectory()
mosRedirect()
mosErrorAlert()
mosTreeRecurse()
mosPathName()
mosMambot:: (1 méthode):
mosMambot()
mosModule:: (2 méthodes):
mosModule()
check()
mosSession:: (30 méthodes):
mosSession()
get()
set()
setFromRequest()
insert()
update()
generateId()
getCookie()
purge()
mosObjectToArray()
mosGetBrowser()
mosGetOS()
mosGetOrderingList()
mosMakeHtmlSafe()
mosMenuCheck()
mosFormatDate()
mosCurrentDate()
mosToolTip()
mosWarning()
mosCreateGUID()
mosCompressID()
mosExpandID()
mosCreateMail()
mosMail()
JosIsValidEmail()
JosIsValidName()
initGzip()
doGzip()
mosMakePassword()
html_entity_decode()
mosMambotHandler:: (8 méthodes):
mosMambotHandler()
loadBotGroup()
loadBot()
registerFunction()
addListOption()
getList()
trigger()
call()
mosTabs:: (5 méthodes):
mosTabs()
startPane()
endPane()
startTab()
endTab()
mosAdminMenus:: (28 méthodes):
Ordering()
Access()
Parent()
Published()
Link()
Target()
MenuLinks()
Category()
Section()
Component()
ComponentName()
Images()
SpecificOrdering()
UserSelect()
Positions()
ComponentCategory()
SelectSection()
Links2Menu()
MenuSelect()
ReadImages()
ReadImagesX()
GetImageFolders()
GetImages()
GetSavedImages()
ImageCheck()
ImageCheckAdmin()
menutypes()
menuItem()
mosCommonHTML:: (24 méthodes):
ContentLegend()
menuLinksContent()
go2()
menuLinksSecCat()
go2()
checkedOut()
loadOverlib()
loadCalendar()
AccessProcessing()
CheckedOutProcessing()
PublishedProcessing()
newsfeedEncoding()
SortArrayObjects_cmp()
SortArrayObjects()
mosSendAdminMail()
mosPathWay()
mosNotAuth()
ampReplace()
mosPrepareSearchContent()
mosSmartSubstr()
mosChmodRecursive()
mosChmod()
mosArrayToInts()
josGetArrayInts()
patHTML:: (11 méthodes):
selectArray()
checkArray()
makeOption()
radioSet()
yesNoRadio()
mosHash()
mosBackTrace()
josSpoofCheck()
_josSpoofCheck()
josSpoofValue()
josHashPassword()
Classe: mosProfiler - X-Ref
Page generation timemosProfiler( $prefix='' ) X-Ref |
Constructor param: string A prefix for mark messages |
mark( $label ) X-Ref |
return: string A format message of the elapsed time |
getmicrotime() X-Ref |
return: float The current time in milliseconds |
Classe: mosAbstractLog - X-Ref
mosAbstractLog() X-Ref |
Constructor |
__constructor() X-Ref |
Generic constructor |
log( $text, $append=false ) X-Ref |
param: string Log message param: boolean True to append to last message |
getLog( $glue='<br/>', $truncate=9000, $htmlSafe=false ) X-Ref |
param: string The glue for each log item return: string Returns the log |
Classe: mosAbstractTasker - X-Ref
Task routing classmosAbstractTasker( $default='' ) X-Ref |
Constructor param: string Set the default task |
setAccessControl( $section, $value=null ) X-Ref |
Sets the access control levels param: string The ACO section (eg, the component) param: string The ACO section value (if using a constant value) |
accessCheck( $task ) X-Ref |
Access control check |
setRedirect( $url, $msg = null ) X-Ref |
Set a URL to redirect the browser to param: string A URL |
redirect() X-Ref |
Redirects the browser |
registerTask( $task, $method ) X-Ref |
Register (map) a task to a method in the class param: string The task param: string The name of the method in the derived class to perform for this task |
registerDefaultTask( $method ) X-Ref |
Register the default task to perfrom if a mapping is not found param: string The name of the method in the derived class to perform if the task is not found |
performTask( $task ) X-Ref |
Perform a task by triggering a method in the derived class param: string The task to perform return: mixed The value returned by the function |
getTask() X-Ref |
Get the last task that was to be performed return: string The task that was or is being performed |
taskNotFound( $task ) X-Ref |
Basic method if the task is not found param: string The task return: null |
methodNotFound( $name ) X-Ref |
Basic method if the registered method is not found param: string The name of the method in the derived class return: null |
notAllowed( $name ) X-Ref |
Basic method if access is not permitted to the task param: string The name of the method in the derived class return: null |
Classe: mosMainFrame - X-Ref
Joomla! Mainframe classmosMainFrame( &$db, $option, $basePath, $isAdmin=false ) X-Ref |
Class constructor param: database A database connection object param: string The url option param: string The path of the mos directory |
getClientID( $client ) X-Ref |
Gets the id number for a client param: mixed A client identifier |
getClientName( $client_id ) X-Ref |
Gets the client name param: int The client identifier return: strint The text name of the client |
getBasePath( $client=0, $addTrailingSlash=true ) X-Ref |
Gets the base path for the client param: mixed A client identifier param: boolean True (default) to add traling slash |
setPageTitle( $title=null ) X-Ref |
param: string |
addMetaTag( $name, $content, $prepend='', $append='' ) X-Ref |
param: string The value of the name attibute param: string The value of the content attibute param: string Text to display before the tag param: string Text to display after the tag |
appendMetaTag( $name, $content ) X-Ref |
param: string The value of the name attibute param: string The value of the content attibute to append to the existing |
prependMetaTag( $name, $content ) X-Ref |
param: string The value of the name attibute param: string The value of the content attibute to append to the existing |
addCustomHeadTag( $html ) X-Ref |
Adds a custom html string to the head block param: string The html to add to the head |
getHead() X-Ref |
return: string |
getPageTitle() X-Ref |
return: string |
getCustomPathWay() X-Ref |
return: string |
appendPathWay( $html ) X-Ref |
Pas de description |
getUserState( $var_name ) X-Ref |
Gets the value of a user state variable param: string The name of the variable |
getUserStateFromRequest( $var_name, $req_name, $var_default=null ) X-Ref |
Gets the value of a user state variable param: string The name of the user state variable param: string The name of the variable passed in a request param: string The default value for the variable if not found |
setUserState( $var_name, $var_value ) X-Ref |
Sets the value of a user state variable param: string The name of the variable param: string The value of the variable |
initSession() X-Ref |
Initialises the user session Old sessions are flushed based on the configuration value for the cookie lifetime. If an existing session, then the last access time is updated. If a new session, a session id is generated and a record is created in the jos_sessions table. |
initSessionAdmin($option, $task) X-Ref |
Pas de description |
setSessionGarbageClean() X-Ref |
Pas de description |
sessionCookieName() X-Ref |
Pas de description |
sessionCookieValue( $id=null ) X-Ref |
Pas de description |
remCookieName_User() X-Ref |
Pas de description |
remCookieName_Pass() X-Ref |
Pas de description |
remCookieValue_User( $username ) X-Ref |
Pas de description |
remCookieValue_Pass( $passwd ) X-Ref |
Pas de description |
login( $username=null, $passwd=null, $remember=0, $userid=NULL ) X-Ref |
Login validation function Username and encoded password is compare to db entries in the jos_users table. A successful validation updates the current session record with the users details. |
logout() X-Ref |
User logout Reverts the current session record back to 'anonymous' parameters |
getUser() X-Ref |
return: mosUser A user object with the information from the current session |
getCfg( $varname ) X-Ref |
param: string The name of the variable (from configuration.php) return: mixed The value of the configuration variable or null if not found |
_setTemplate( $isAdmin=false ) X-Ref |
Pas de description |
getTemplate() X-Ref |
Pas de description |
_setAdminPaths( $option, $basePath='.' ) X-Ref |
Determines the paths for including engine and menu files param: string The current option used in the url param: string The base path from which to load the configuration file |
getPath( $varname, $option='' ) X-Ref |
Returns a stored path variable |
detect() X-Ref |
Detects a 'visit' This function updates the agent and domain table hits for a particular visitor. The user agent is recorded/incremented if this is the first visit. A cookie is set to mark the first visit. |
getItemid( $id, $typed=1, $link=1, $bs=1, $bc=1, $gbs=1 ) X-Ref |
return: correct Itemid for Content Item |
getBlogSectionCount( ) X-Ref |
return: number of Published Blog Sections |
getBlogCategoryCount( ) X-Ref |
return: number of Published Blog Categories |
getGlobalBlogSectionCount( ) X-Ref |
return: number of Published Global Blog Sections |
getStaticContentCount( ) X-Ref |
return: number of Static Content |
getContentItemLinkCount( ) X-Ref |
return: number of Content Item Links |
set( $property, $value=null ) X-Ref |
param: string The name of the property param: mixed The value of the property to set |
get($property, $default=null) X-Ref |
param: string The name of the property param: mixed The default value return: mixed The value of the property |
isAdmin() X-Ref |
Pas de description |
Classe: mosComponent - X-Ref
Component database table classmosComponent( &$db ) X-Ref |
param: database A database connector object |
makeOption( $value, $text='', $value_name='value', $text_name='text' ) X-Ref |
Pas de description |
writableCell( $folder, $relative=1, $text='', $visible=1 ) X-Ref |
Pas de description |
selectList( &$arr, $tag_name, $tag_attribs, $key, $text, $selected=NULL ) X-Ref |
Generates an HTML select list returns: string HTML for the select list param: array An array of objects param: string The value of the HTML name attribute param: string Additional HTML attributes for the <select> tag param: string The name of the object variable for the option value param: string The name of the object variable for the option text param: mixed The key that is selected |
integerSelectList( $start, $end, $inc, $tag_name, $tag_attribs, $selected, $format="" ) X-Ref |
Writes a select list of integers returns: string HTML for the select list param: int The start integer param: int The end integer param: int The increment param: string The value of the HTML name attribute param: string Additional HTML attributes for the <select> tag param: mixed The key that is selected param: string The printf format to be applied to the number |
monthSelectList( $tag_name, $tag_attribs, $selected ) X-Ref |
Writes a select list of month names based on Language settings returns: string HTML for the select list values param: string The value of the HTML name attribute param: string Additional HTML attributes for the <select> tag param: mixed The key that is selected |
treeSelectList( &$src_list, $src_id, $tgt_list, $tag_name, $tag_attribs, $key, $text, $selected ) X-Ref |
Generates an HTML select list from a tree based query list returns: string HTML for the select list param: array Source array with id and parent fields param: array The id of the current list item param: array Target array. May be an empty array. param: array An array of objects param: string The value of the HTML name attribute param: string Additional HTML attributes for the <select> tag param: string The name of the object variable for the option value param: string The name of the object variable for the option text param: mixed The key that is selected |
yesnoSelectList( $tag_name, $tag_attribs, $selected, $yes=_CMN_YES, $no=_CMN_NO ) X-Ref |
Writes a yes/no select list returns: string HTML for the select list values param: string The value of the HTML name attribute param: string Additional HTML attributes for the <select> tag param: mixed The key that is selected |
radioList( &$arr, $tag_name, $tag_attribs, $selected=null, $key='value', $text='text' ) X-Ref |
Generates an HTML radio list returns: string HTML for the select list param: array An array of objects param: string The value of the HTML name attribute param: string Additional HTML attributes for the <select> tag param: mixed The key that is selected param: string The name of the object variable for the option value param: string The name of the object variable for the option text |
yesnoRadioList( $tag_name, $tag_attribs, $selected, $yes=_CMN_YES, $no=_CMN_NO ) X-Ref |
Writes a yes/no radio list returns: string HTML for the radio list param: string The value of the HTML name attribute param: string Additional HTML attributes for the <select> tag param: mixed The key that is selected |
idBox( $rowNum, $recId, $checkedOut=false, $name='cid' ) X-Ref |
param: int The row index param: int The record id param: boolean param: string The name of the form element return: string |
sortIcon( $base_href, $field, $state='none' ) X-Ref |
Pas de description |
CloseButton( &$params, $hide_js=NULL ) X-Ref |
Writes Close Button |
BackButton( &$params, $hide_js=NULL ) X-Ref |
Writes Back Button |
cleanText( &$text ) X-Ref |
Cleans text of all formating and scripting code |
PrintIcon( &$row, &$params, $hide_js, $link, $status=NULL ) X-Ref |
Writes Print icon |
emailCloaking( $mail, $mailto=1, $text='', $email=1 ) X-Ref |
simple Javascript Cloaking email cloacking by default replaces an email with a mailto link with email cloacked |
encoding_converter( $text ) X-Ref |
Pas de description |
Classe: mosCategory - X-Ref
Category database table classmosCategory( &$db ) X-Ref |
param: database A database connector object |
check() X-Ref |
Pas de description |
Classe: mosSection - X-Ref
Section database table classmosSection( &$db ) X-Ref |
param: database A database connector object |
check() X-Ref |
Pas de description |
Classe: mosContent - X-Ref
Module database table classmosContent( &$db ) X-Ref |
param: database A database connector object |
check() X-Ref |
Validation and filtering |
toXML( $mapKeysToText=false ) X-Ref |
Converts record to XML param: boolean Map foreign keys to text values |
mosUser( &$database ) X-Ref |
param: database A database connector object |
check() X-Ref |
Validation and filtering return: boolean True is satisfactory |
store( $updateNulls=false ) X-Ref |
Pas de description |
delete( $oid=null ) X-Ref |
Pas de description |
getUserListFromGroup( $value, $name, $recurse='NO_RECURSE', $order='name' ) X-Ref |
Gets the users from a group param: string The value for the group (not used 1.0) param: string The name for the group param: string If RECURSE, will drill into child groups param: string Ordering for the list return: array |
Classe: mosTemplate - X-Ref
Template Table ClassmosTemplate( &$database ) X-Ref |
param: database A database connector object |
mosGetParam( &$arr, $name, $def=null, $mask=0 ) X-Ref |
Pas de description |
mosStripslashes( &$value ) X-Ref |
Strip slashes from strings or arrays of strings param: mixed The input string or array return: mixed String or array stripped of slashes |
mosBindArrayToObject( $array, &$obj, $ignore='', $prefix=NULL, $checkSlashes=true ) X-Ref |
Copy the named array content into the object as properties only existing properties of object are filled. when undefined in hash, properties wont be deleted param: array the input array param: obj byref the object to fill of any class param: string param: boolean |
mosReadDirectory( $path, $filter='.', $recurse=false, $fullpath=false ) X-Ref |
Utility function to read the files in a directory param: string The file system path param: string A filter for the names param: boolean Recurse search into sub-directories param: boolean True if to prepend the full path to the file name |
mosRedirect( $url, $msg='' ) X-Ref |
Utility function redirect the browser location to another url Can optionally provide a message. param: string The file system path param: string A filter for the names |
mosErrorAlert( $text, $action='window.history.go(-1) X-Ref |
Pas de description |
mosTreeRecurse( $id, $indent, $list, &$children, $maxlevel=9999, $level=0, $type=1 ) X-Ref |
Pas de description |
mosPathName($p_path,$p_addtrailingslash = true) X-Ref |
Function to strip additional / or \ in a path name param: string The path param: boolean Add trailing slash |
Classe: mosSession - X-Ref
Session database table classmosSession( &$db ) X-Ref |
param: database A database connector object |
get( $key, $default=null ) X-Ref |
param: string Key search for param: mixed Default value if not set return: mixed |
set( $key, $value ) X-Ref |
param: string Key to set param: mixed Value to set return: mixed The new value |
setFromRequest( $key, $varName, $default=null ) X-Ref |
Sets a key from a REQUEST variable, otherwise uses the default param: string The variable key param: string The REQUEST variable name param: mixed The default value return: mixed |
insert() X-Ref |
Insert a new row return: boolean |
update( $updateNulls=false ) X-Ref |
Update an existing row return: boolean |
generateId() X-Ref |
Generate a unique session id return: string |
getCookie() X-Ref |
return: string The name of the session cookie |
purge( $inc=1800, $and='' ) X-Ref |
Purge lapsed sessions return: boolean |
mosObjectToArray($p_obj) X-Ref |
Pas de description |
mosGetBrowser( $agent ) X-Ref |
Checks the user agent string against known browsers |
mosGetOS( $agent ) X-Ref |
Checks the user agent string against known operating systems |
mosGetOrderingList( $sql, $chop='30' ) X-Ref |
param: string SQL with ordering As value and 'name field' AS text param: integer The length of the truncated headline |
mosMakeHtmlSafe( &$mixed, $quote_style=ENT_QUOTES, $exclude_keys='' ) X-Ref |
Makes a variable safe to display in forms Object parameters that are non-string, array, object or start with underscore will be converted param: object An object to be parsed param: int The optional quote style for the htmlspecialchars function param: string|array An optional single field name or array of field names not |
mosMenuCheck( $Itemid, $menu_option, $task, $gid ) X-Ref |
Checks whether a menu option is within the users access level param: int Item id number param: string The menu option param: int The users group ID number param: database A database connector object return: boolean True if the visitor's group at least equal to the menu access |
mosFormatDate( $date, $format="", $offset=NULL ) X-Ref |
Returns formated date according to current local and adds time offset returns: formated date param: string date in datetime format param: string format optional format for strftime param: offset time offset if different than global one |
mosCurrentDate( $format="" ) X-Ref |
Returns current date according to current local and time offset returns: current date param: string format optional format for strftime |
mosToolTip( $tooltip, $title='', $width='', $image='tooltip.png', $text='', $href=') X-Ref |
Utility function to provide ToolTips returns: HTML code for ToolTip param: string ToolTip text param: string Box title |
mosWarning($warning, $title='Joomla! Warning') X-Ref |
Utility function to provide Warning Icons returns: HTML code for Warning param: string Warning text param: string Box title |
mosCreateGUID() X-Ref |
Pas de description |
mosCompressID( $ID ) X-Ref |
Pas de description |
mosExpandID( $ID ) X-Ref |
Pas de description |
mosCreateMail( $from='', $fromname='', $subject, $body ) X-Ref |
Function to create a mail object for futher use (uses phpMailer) param: string From e-mail address param: string From name param: string E-mail subject param: string Message body return: object Mail object |
mosMail( $from, $fromname, $recipient, $subject, $body, $mode=0, $cc=NULL, $bcc=NULL, $attachment=NULL, $replyto=NULL, $replytoname=NULL ) X-Ref |
Mail function (uses phpMailer) param: string From e-mail address param: string From name param: string/array Recipient e-mail address(es) param: string E-mail subject param: string Message body param: boolean false = plain text, true = HTML param: string/array CC e-mail address(es) param: string/array BCC e-mail address(es) param: string/array Attachment file name(s) param: string/array ReplyTo e-mail address(es) param: string/array ReplyTo name(s) return: boolean |
JosIsValidEmail( $email ) X-Ref |
Checks if a given string is a valid email address param: string $email String to check for a valid email address return: boolean |
JosIsValidName( $string ) X-Ref |
Checks if a given string is a valid (from-)name or subject for an email param: string $string String to check for validity return: boolean |
initGzip() X-Ref |
Initialise GZIP |
doGzip() X-Ref |
Perform GZIP |
mosMakePassword($length=8) X-Ref |
Random password generator return: password |
html_entity_decode($string, $opt = ENT_COMPAT) X-Ref |
html_entity_decode function for backward compatability in PHP param: string param: string |
Classe: mosMambotHandler - X-Ref
Plugin handlermosMambotHandler() X-Ref |
Constructor |
loadBotGroup( $group ) X-Ref |
Loads all the bot files for a particular group param: string The group name, relates to the sub-directory in the mambots directory |
loadBot( $folder, $element, $published, $params='' ) X-Ref |
Loads the bot file param: string The folder (group) param: string The elements (name of file without extension) param: int Published state param: string The params for the bot |
registerFunction( $event, $function ) X-Ref |
Registers a function to a particular event group param: string The event name param: string The function name |
addListOption( $group, $listName, $value, $text='' ) X-Ref |
Makes a option for a particular list in a group param: string The group name param: string The list name param: string The value for the list option param: string The text for the list option |
getList( $group, $listName ) X-Ref |
param: string The group name param: string The list name return: array |
trigger( $event, $args=null, $doUnpublished=false ) X-Ref |
Calls all functions associated with an event group param: string The event name param: array An array of arguments param: boolean True is unpublished bots are to be processed return: array An array of results from each function call |
call( $event ) X-Ref |
Same as trigger but only returns the first event and allows for a variable argument list param: string The event name return: array The result of the first function call |
mosTabs( $useCookies, $xhtml=NULL ) X-Ref |
Constructor Includes files needed for displaying tabs and sets cookie options param: int useCookies, if set to 1 cookie will hold last used tab between page refreshes |
startPane($id) X-Ref |
creates a tab pane and creates JS obj param: string The Tab Pane Name |
endPane() X-Ref |
Ends Tab Pane |
startTab( $tabText, $paneid ) X-Ref |
Pas de description |
endTab() X-Ref |
Pas de description |
Classe: mosAdminMenus - X-Ref
Common HTML Output FilesOrdering( &$row, $id ) X-Ref |
build the select list for Menu Ordering |
Access( &$row ) X-Ref |
build the select list for access level |
Parent( &$row ) X-Ref |
build the select list for parent item |
Published( &$row ) X-Ref |
build a radio button option for published state |
Link( &$row, $id, $link=NULL ) X-Ref |
build the link/url of a menu item |
Target( &$row ) X-Ref |
build the select list for target window |
MenuLinks( &$lookup, $all=NULL, $none=NULL, $unassigned=1 ) X-Ref |
build the multiple select list for Menu Links/Pages |
Category( &$menu, $id, $javascript='' ) X-Ref |
build the select list to choose a category |
Section( &$menu, $id, $all=0 ) X-Ref |
build the select list to choose a section |
Component( &$menu, $id ) X-Ref |
build the select list to choose a component |
ComponentName( &$menu, $id ) X-Ref |
build the select list to choose a component |
Images( $name, &$active, $javascript=NULL, $directory=NULL ) X-Ref |
build the select list to choose an image |
SpecificOrdering( &$row, $id, $query, $neworder=0 ) X-Ref |
build the select list for Ordering of a specified Table |
UserSelect( $name, $active, $nouser=0, $javascript=NULL, $order='name', $reg=1 ) X-Ref |
Select list of active users |
Positions( $name, $active=NULL, $javascript=NULL, $none=1, $center=1, $left=1, $right=1 ) X-Ref |
Select list of positions - generally used for location of images |
ComponentCategory( $name, $section, $active=NULL, $javascript=NULL, $order='ordering', $size=1, $sel_cat=1 ) X-Ref |
Select list of active categories for components |
SelectSection( $name, $active=NULL, $javascript=NULL, $order='ordering' ) X-Ref |
Select list of active sections |
Links2Menu( $type, $and ) X-Ref |
Select list of menu items for a specific menu |
MenuSelect( $name='menuselect', $javascript=NULL ) X-Ref |
Select list of menus param: string The control name param: string Additional javascript return: string A select list |
ReadImages( $imagePath, $folderPath, &$folders, &$images ) X-Ref |
Internal function to recursive scan the media manager directories param: string Path to scan param: string root path of this folder param: array Value array of all existing folders param: array Value array of all existing images |
ReadImagesX( &$folders, &$images ) X-Ref |
Internal function to recursive scan the media manager directories param: string Path to scan param: string root path of this folder param: array Value array of all existing folders param: array Value array of all existing images |
GetImageFolders( &$temps, $path ) X-Ref |
Pas de description |
GetImages( &$images, $path, $base='/' ) X-Ref |
Pas de description |
GetSavedImages( &$row, $path ) X-Ref |
Pas de description |
ImageCheck( $file, $directory='/images/M_images/', $param=NULL, $param_directory='/images/M_images/', $alt=NULL, $name=NULL, $type=1, $align='middle', $title=NULL, $admin=NULL ) X-Ref |
Checks to see if an image exists in the current templates image directory if it does it loads this image. Otherwise the default image is loaded. Also can be used in conjunction with the menulist param to create the chosen image load the default or use no image |
ImageCheckAdmin( $file, $directory='/administrator/images/', $param=NULL, $param_directory='/administrator/images/', $alt=NULL, $name=NULL, $type=1, $align='middle', $title=NULL ) X-Ref |
Checks to see if an image exists in the current templates image directory if it does it loads this image. Otherwise the default image is loaded. Also can be used in conjunction with the menulist param to create the chosen image load the default or use no image |
menutypes() X-Ref |
Pas de description |
menuItem( $item ) X-Ref |
Pas de description |
Classe: mosCommonHTML - X-Ref
ContentLegend( ) X-Ref |
Pas de description |
menuLinksContent( &$menus ) X-Ref |
Pas de description |
go2( pressbutton, menu, id ) X-Ref |
Pas de description |
menuLinksSecCat( &$menus ) X-Ref |
Pas de description |
go2( pressbutton, menu, id ) X-Ref |
Pas de description |
checkedOut( &$row, $overlib=1 ) X-Ref |
Pas de description |
loadOverlib() X-Ref |
Pas de description |
loadCalendar() X-Ref |
Pas de description |
AccessProcessing( &$row, $i ) X-Ref |
Pas de description |
CheckedOutProcessing( &$row, $i ) X-Ref |
Pas de description |
PublishedProcessing( &$row, $i ) X-Ref |
Pas de description |
newsfeedEncoding( $rssDoc, $text ) X-Ref |
Pas de description |
SortArrayObjects_cmp( &$a, &$b ) X-Ref |
Sorts an Array of objects |
SortArrayObjects( &$a, $k, $sort_direction=1 ) X-Ref |
Sorts an Array of objects sort_direction [1 = Ascending] [-1 = Descending] |
mosSendAdminMail( $adminName, $adminEmail, $email, $type, $title, $author ) X-Ref |
Sends mail to admin |
mosPathWay() X-Ref |
Pas de description |
mosNotAuth() X-Ref |
Displays a not authorised message If the user is not logged in then an addition message is displayed. |
ampReplace( $text ) X-Ref |
Replaces & with & for xhtml compliance Needed to handle unicode conflicts due to unicode conflicts |
mosPrepareSearchContent( $text, $length=200, $searchword ) X-Ref |
Prepares results from search for display param: string The source string param: int Number of chars to trim param: string The searchword to select around return: string |
mosSmartSubstr($text, $length=200, $searchword) X-Ref |
returns substring of characters around a searchword param: string The source string param: int Number of chars to return param: string The searchword to select around return: string |
mosChmodRecursive($path, $filemode=NULL, $dirmode=NULL) X-Ref |
Chmods files and directories recursively to given permissions. Available from 1.0.0 up. param: path The starting file or directory (no trailing slash) param: filemode Integer value to chmod files. NULL = dont chmod files. param: dirmode Integer value to chmod directories. NULL = dont chmod directories. return: TRUE=all succeeded FALSE=one or more chmods failed |
mosChmod($path) X-Ref |
Chmods files and directories recursively to mos global permissions. Available from 1.0.0 up. param: path The starting file or directory (no trailing slash) param: filemode Integer value to chmod files. NULL = dont chmod files. param: dirmode Integer value to chmod directories. NULL = dont chmod directories. return: TRUE=all succeeded FALSE=one or more chmods failed |
mosArrayToInts( &$array, $default=null ) X-Ref |
Function to convert array to integer values param: array param: int A default value to assign if $array is not an array return: array |
josGetArrayInts( $name, $type=NULL ) X-Ref |
Pas de description |
selectArray( &$source, $selected=null, $valueName='value', $selectedAttr='selected' ) X-Ref |
Converts a named array to an array or named rows suitable to option lists param: array The source array[key] = value param: mixed A value or array of selected values param: string The name for the value field param: string The name for selected attribute (use 'checked' for radio of box lists) |
checkArray( &$source, $selected=null, $valueName='value' ) X-Ref |
Converts a named array to an array or named rows suitable to checkbox or radio lists param: array The source array[key] = value param: mixed A value or array of selected values param: string The name for the value field |
makeOption( $value, $text, $valueName='value', $textName='text' ) X-Ref |
param: mixed The value for the option param: string The text for the option param: string The name of the value parameter (default is value) param: string The name of the text parameter (default is text) |
radioSet( &$tmpl, $template, $name, $value, $a, $varname=null ) X-Ref |
Writes a radio pair param: object Template object param: string The template name param: string The field name param: int The value of the field param: array Array of options param: string Optional template variable name |
yesNoRadio( &$tmpl, $template, $name, $value, $varname=null ) X-Ref |
Writes a radio pair param: object Template object param: string The template name param: string The field name param: int The value of the field param: string Optional template variable name |
mosHash( $seed ) X-Ref |
Provides a secure hash based on a seed param: string Seed string return: string |
mosBackTrace() X-Ref |
Format a backtrace error |
josSpoofCheck( $header=NULL, $alt=NULL ) X-Ref |
Pas de description |
_josSpoofCheck( $array, $badStrings ) X-Ref |
Pas de description |
josSpoofValue($alt=NULL) X-Ref |
Method to determine a hash for anti-spoofing variable names return: string Hashed var name |
josHashPassword($password) X-Ref |
A simple helper function to salt and hash a clear-text password. param: string $password A plain-text password return: string An md5 hashed password with salt |
Généré le : Wed Nov 21 14:43:32 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |