API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
accessMenu | ( | $ | uid, |
$ | access, | ||
$ | option | ||
) |
changes the access level of a record
integer | The increment to reorder by |
Références $access, $db, $mainframe, $option, JRequest::checkToken(), JFactory::getDBO(), JTable::getInstance(), et jexit().
cancelSection | ( | $ | option, |
$ | scope | ||
) |
Cancels an edit operation
database | A database connector object |
string | The name of the category section |
integer | A unique category id |
Références $db, $mainframe, $option, $scope, JRequest::checkToken(), JRequest::get(), JFactory::getDBO(), JTable::getInstance(), et jexit().
copySectionSave | ( | $ | sectionid, |
$ | scope | ||
) |
Save the item(s) to the menu selected
Références $content, $db, $id, $mainframe, $scope, $section, $title, JRequest::checkToken(), copySectionSelect(), JFactory::getDBO(), JTable::getInstance(), JRequest::getString(), JRequest::getVar(), jexit(), JError::raiseError(), JError::raiseWarning(), JText::sprintf(), et JArrayHelper::toInteger().
copySectionSelect | ( | $ | option, |
$ | cid, | ||
$ | section | ||
) |
Form for copying item(s) to a specific menu
Références $cid, $db, $mainframe, $option, $query, $section, JText::_(), JRequest::checkToken(), sections_html::copySectionSelect(), JFactory::getDBO(), jexit(), JError::raiseError(), et JArrayHelper::toInteger().
Référencé par copySectionSave().
editSection | ( | $ | edit | ) |
Compiles information to add or edit a section
database | A database connector object |
string | The name of the category section |
integer | The unique id of the category to edit (0 if new) |
string | The name of the current user |
Références $cid, $db, $edit, $mainframe, $option, $query, $scope, $user, JHTML::_(), JText::_(), sections_html::edit(), JRequest::getCmd(), JFactory::getDBO(), JTable::getInstance(), JFactory::getUser(), JRequest::getVar(), JText::sprintf(), et JArrayHelper::toInteger().
orderSection | ( | $ | uid, |
$ | inc, | ||
$ | option, | ||
$ | scope | ||
) |
Moves the order of a record
integer | The increment to reorder by |
Références $db, $mainframe, $option, $scope, JRequest::checkToken(), JFactory::getDBO(), JTable::getInstance(), et jexit().
publishSections | ( | $ | scope, |
$ | cid = null , |
||
$ | publish = 1 , |
||
$ | option | ||
) |
Publishes or Unpublishes one or more categories
database | A database connector object |
string | The name of the category section |
integer | A unique category id (passed from an edit form) |
array | An array of unique category id numbers |
integer | 0 if unpublishing, 1 if publishing |
string | The name of the current user |
Références $cid, $count, $db, $mainframe, $menu, $option, $query, $scope, $user, JText::_(), JRequest::checkToken(), JFactory::getDBO(), JTable::getInstance(), JFactory::getUser(), jexit(), JError::raiseError(), et JArrayHelper::toInteger().
removeSections | ( | $ | cid, |
$ | scope, | ||
$ | option | ||
) |
Deletes one or more categories from the categories table
database | A database connector object |
string | The name of the category section |
array | An array of unique category id numbers |
Références $cid, $db, $mainframe, $name, $option, $query, $rows, $scope, JText::_(), JRequest::checkToken(), JFactory::getDBO(), jexit(), JError::raiseError(), JText::sprintf(), et JArrayHelper::toInteger().
saveOrder | ( | &$ | cid | ) |
Références $cid, $db, $i, $mainframe, $total, JText::_(), JRequest::checkToken(), JFactory::getDBO(), JTable::getInstance(), JRequest::getVar(), jexit(), JError::raiseError(), et JArrayHelper::toInteger().
saveSection | ( | $ | option, |
$ | scope, | ||
$ | task | ||
) |
Saves the catefory after an edit form submit
database | A database connector object |
string | The name of the category section |
Références $db, $mainframe, $menu, $option, $query, $scope, $task, JText::_(), JRequest::checkToken(), ContentHelper::filterText(), JRequest::get(), JFactory::getDBO(), JTable::getInstance(), JRequest::getVar(), jexit(), et JError::raiseError().
switch ($task) showSections | ( | $ | scope, |
$ | option | ||
) |
Compiles a list of categories for a section
database | A database connector object |
string | The name of the category section |
string | The name of the current user |
Références $count, $db, $i, $limit, $limitstart, $mainframe, $option, $pageNav, $query, $rows, $scope, $total, $user, $where, JHTML::_(), JFactory::getDBO(), JFactory::getUser(), jimport(), sections_html::show(), et JString::strtolower().
$cid = JRequest::getVar( 'cid', array(0), '', 'array' ) |
$scope = JRequest::getCmd( 'scope' ) |