API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
ContentController::accessMenu | ( | $ | access | ) |
integer | The id of the article |
integer | The new access level |
string | The URL option |
Références $access, $cid, $db, $mainframe, $option, JRequest::checkToken(), JFactory::getCache(), JRequest::getCmd(), JFactory::getDBO(), JTable::getInstance(), JRequest::getVar(), jexit(), et JError::raiseError().
ContentController::cancel | ( | ) |
Cancels an edit article operation
public
Références $db, $user, JURI::base(), JRequest::get(), JFactory::getDBO(), JTable::getInstance(), JRequest::getString(), JFactory::getUser(), et JURI::isInternal().
ContentController::cancelContent | ( | ) |
Cancels an edit operation
Références $db, $mainframe, JRequest::checkToken(), JRequest::get(), JFactory::getDBO(), JTable::getInstance(), et jexit().
ContentController::changeContent | ( | $ | state = 0 | ) |
Changes the state of one or more content pages
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 $db, et JError::raiseError().
ContentController::copyItem | ( | ) |
Form for copying item(s)
Références $cid, $db, $items, $option, $query, $rows, JHTML::_(), JText::_(), JRequest::checkToken(), ContentView::copySection(), JRequest::getCmd(), JFactory::getDBO(), JRequest::getVar(), jexit(), et JArrayHelper::toInteger().
ContentController::copyItemSave | ( | ) |
saves Copies of items
Références $cid, $db, $i, $item, $mainframe, $option, $query, $total, JText::_(), JRequest::checkToken(), JRequest::getCmd(), JFactory::getDBO(), JTable::getInstance(), JRequest::getVar(), jexit(), JError::raiseError(), JText::sprintf(), et JArrayHelper::toInteger().
ContentController::display | ( | ) |
Method to show an article as the main page display
public
Références $user, $view, JHTML::_(), JRequest::getCmd(), JRequest::getInt(), JFactory::getUser(), JRequest::getVar(), et JRequest::setVar().
ContentController::edit | ( | ) |
Edits an article
public
Références $access, $user, $view, JRoute::_(), JText::_(), JFactory::getUser(), JError::raiseError(), et JText::sprintf().
ContentController::editContent | ( | $ | edit | ) |
Compiles information to add or edit the record
database | A database connector object |
integer | The unique id of the record to edit (0 if new) |
integer | The id of the content section |
Références $cid, $db, $edit, $id, $mainframe, $nullDate, $option, $query, $section, $user, $where, JHTML::_(), JText::_(), article, JRequest::getCmd(), JFactory::getDate(), JFactory::getDBO(), JTable::getInstance(), JRequest::getInt(), JFactory::getUser(), JRequest::getVar(), if, JTable::isCheckedOut(), JText::sprintf(), JArrayHelper::toInteger(), et value.
ContentController::element | ( | ) |
Articles element
Références $view.
ContentController::findkey | ( | ) |
Searches for an item by a key parameter
public
Références $db, $id, $query, $view, JText::_(), JFactory::getDBO(), JRequest::getVar(), JError::raiseError(), et JRequest::setVar().
ContentController::ins_pagebreak | ( | ) |
ContentController::insertPagebreak | ( | ) |
Références $document, JText::_(), JFactory::getDocument(), et ContentView::insertPagebreak().
ContentController::moveSection | ( | ) |
Form for moving item(s) to a different section and category
Références $cid, $db, $items, $query, $rows, JHTML::_(), JText::_(), JRequest::checkToken(), JFactory::getDBO(), JRequest::getVar(), jexit(), ContentView::moveSection(), et JArrayHelper::toInteger().
ContentController::moveSectionSave | ( | ) |
Save the changes to move item(s) to a different section and category
Références $cid, $db, $id, $mainframe, $option, $query, $total, $user, JText::_(), JRequest::checkToken(), JRequest::getCmd(), JFactory::getDBO(), JTable::getInstance(), JFactory::getUser(), JRequest::getVar(), jexit(), JError::raiseError(), JText::sprintf(), et JArrayHelper::toInteger().
ContentController::orderContent | ( | $ | direction | ) |
Moves the order of a record
integer | The increment to reorder by |
Références $cid, $db, $mainframe, JRequest::checkToken(), JFactory::getCache(), JFactory::getDBO(), JTable::getInstance(), JRequest::getVar(), et jexit().
ContentController::previewContent | ( | ) |
Références $db, $document, $id, $option, $query, JText::_(), JRequest::getCmd(), JFactory::getDBO(), JFactory::getDocument(), JRequest::getVar(), ContentView::previewContent(), et JURI::root().
ContentController::removeContent | ( | ) |
Références $cid, $db, $mainframe, $nullDate, $option, $ordering, $query, $return, $state, JText::_(), JRequest::checkToken(), JFactory::getCache(), JRequest::getCmd(), JFactory::getDBO(), JRequest::getVar(), jexit(), JError::raiseError(), JText::sprintf(), et JArrayHelper::toInteger().
ContentController::save | ( | ) |
Saves the content item an edit form submit
Références $access, $db, $lang, $query, $section, $task, $user, JText::_(), JURI::base(), JRequest::checkToken(), JRequest::get(), JFactory::getCache(), JFactory::getDBO(), JFactory::getLanguage(), JRequest::getString(), JFactory::getUser(), JRequest::getVar(), JURI::isInternal(), jexit(), JError::raiseError(), et JText::sprintf().
ContentController::saveContent | ( | ) |
Saves the article an edit form submit
database | A database connector object |
ContentController::saveOrder | ( | ) |
Références $cid, $db, $i, $mainframe, $total, JText::_(), JRequest::checkToken(), foreach, JFactory::getCache(), JFactory::getDBO(), JTable::getInstance(), JRequest::getVar(), jexit(), JError::raiseError(), et JArrayHelper::toInteger().
ContentController::toggleFrontPage | ( | ) |
Changes the frontpage state of one or more articles
Références $cid, $db, $id, $mainframe, $option, $query, JText::_(), JRequest::checkToken(), JFactory::getCache(), JRequest::getCmd(), JFactory::getDBO(), JRequest::getVar(), jexit(), JError::raiseError(), et JArrayHelper::toInteger().
ContentController::viewContent | ( | ) |
Compiles a list of installed or defined modules
database | A database connector object |
Références $db, $limit, $limitstart, $mainframe, $option, $query, $rows, $section, $total, $where, JText::_(), JHTML::_(), ContentHelper::filterCategory(), JRequest::getCmd(), JFactory::getDBO(), JRequest::getVar(), jimport(), JError::raiseError(), ContentView::showContent(), et JString::strtolower().
ContentController::vote | ( | ) |
Rates an article
public
Références $id, $url, JText::_(), JRoute::_(), JRequest::getVar(), et JURI::isInternal().