Joomla CMS  2.5.24 (avec JPlatform 11.4 inclus)
Documentation des API du CMS Joomla en version 2.5 et du framework Joomla Platform intégré
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Pages
Référence du fichier components/com_media/media.php

Espaces de nommage

namespace  Joomla\Site

Variables

 $params = JComponentHelper::getParams('com_media')
 $user = JFactory::getUser()
 $asset = JRequest::getCmd('asset')
 $author = JRequest::getCmd('author')
const COM_MEDIA_BASE (!$asset or!$user->authorise('core.edit', $asset)&&!$user->authorise('core.create', $asset)&&count($user->getAuthorisedCategories($asset, 'core.create'))==0 &&!($user->id==$author &&$user->authorise('core.edit.own', $asset))) = JPATH_ROOT.'/'.$params->get('image_path', 'images')
const COM_MEDIA_BASEURL = JURI::root().'/'.$params->get('image_path', 'images')
 $lang = JFactory::getLanguage()
$lang load('com_media',
JPATH_ADMINISTRATOR, null,
false, true)||$lang->load('com_media' 
JPATH_SITE
$lang load('com_media',
JPATH_ADMINISTRATOR, null,
false, true)||$lang->load('com_media' 
null
$lang load('com_media',
JPATH_ADMINISTRATOR, null,
false, true)||$lang->load('com_media' 
false
$lang load('com_media',
JPATH_ADMINISTRATOR, null,
false, true)||$lang->load('com_media' 
true
 $app = JFactory::getApplication()
 $cmd = JRequest::getCmd('task', null)

Documentation des variables

$asset = JRequest::getCmd('asset')
$author = JRequest::getCmd('author')
$params = JComponentHelper::getParams('com_media')
$user = JFactory::getUser()
const COM_MEDIA_BASE(!$asset or!$user->authorise('core.edit', $asset)&&!$user->authorise('core.create', $asset)&&count($user->getAuthorisedCategories($asset, 'core.create'))==0 &&!($user->id==$author &&$user->authorise('core.edit.own', $asset))) = JPATH_ROOT.'/'.$params->get('image_path', 'images')
const COM_MEDIA_BASEURL = JURI::root().'/'.$params->get('image_path', 'images')
$lang load ('com_media', JPATH_ADMINISTRATOR, null, false, true)||$lang->load('com_media' false
$lang load ('com_media', JPATH_ADMINISTRATOR, null, false, true)||$lang->load('com_media' JPATH_SITE
$lang load ('com_media', JPATH_ADMINISTRATOR, null, false, true)||$lang->load('com_media' null
$lang load ('com_media', JPATH_ADMINISTRATOR, null, false, true)||$lang->load('com_media' true