API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
accessMenu | ( | $ | uid, |
$ | access | ||
) |
integer | The id of the article |
integer | The new access level |
string | The URL option |
Références $access, $db, $mainframe, JRequest::checkToken(), JFactory::getCache(), JFactory::getDBO(), JTable::getInstance(), et jexit().
changeFrontPage | ( | $ | cid = null , |
$ | state = 0 , |
||
$ | option | ||
) |
Changes the state of one or more content pages
array | An array of unique category id numbers |
integer | 0 if unpublishing, 1 if publishing |
Références $cid, $db, $mainframe, $option, $query, $state, $user, JText::_(), JRequest::checkToken(), JFactory::getCache(), JFactory::getDBO(), JTable::getInstance(), JFactory::getUser(), jexit(), JError::raiseError(), et JArrayHelper::toInteger().
orderFrontPage | ( | $ | uid, |
$ | inc, | ||
$ | option | ||
) |
Moves the order of a record
integer | The increment to reorder by |
Références $db, $mainframe, $option, JRequest::checkToken(), JFactory::getCache(), JFactory::getDBO(), JTable::getInstance(), et jexit().
removeFrontPage | ( | &$ | cid, |
$ | option | ||
) |
Références $cid, $db, $id, $mainframe, $option, JText::_(), JRequest::checkToken(), JFactory::getCache(), JFactory::getDBO(), JTable::getInstance(), jexit(), et JError::raiseError().
saveOrder | ( | &$ | cid | ) |
Références $cid, $db, $i, $mainframe, $query, $total, JText::_(), JRequest::checkToken(), JFactory::getCache(), JFactory::getDBO(), JRequest::getVar(), jexit(), et JError::raiseError().
switch (JRequest::getCmd( 'task')) viewFrontPage | ( | $ | option | ) |
Compiles a list of frontpage items
Références $db, $limit, $limitstart, $mainframe, $option, $pageNav, $query, $rows, $total, $where, JHTML::_(), JText::_(), JToolBarHelper::archiveList(), JToolBarHelper::custom(), JFactory::getDBO(), JToolBarHelper::help(), jimport(), JToolBarHelper::publishList(), FrontpageView::showList(), JString::strtolower(), JToolBarHelper::title(), et JToolBarHelper::unpublishList().
$cid = JRequest::getVar( 'cid', array(0), 'post', 'array' ) |
$user = & JFactory::getUser() |