API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
cancelNewsFeed | ( | ) |
Cancels an edit operation
Références $db, $mainframe, $option, JRequest::checkToken(), JRequest::get(), JRequest::getCmd(), JFactory::getDBO(), JTable::getInstance(), et jexit().
changePublishNewsFeeds | ( | $ | publish | ) |
Publishes or Unpublishes one or more modules
integer | 0 if unpublishing, 1 if publishing |
Références $cid, $db, $mainframe, $option, $query, $user, JRequest::checkToken(), JRequest::getCmd(), JFactory::getDBO(), JTable::getInstance(), JFactory::getUser(), JRequest::getVar(), jexit(), JError::raiseError(), JError::raiseWarning(), et JArrayHelper::toInteger().
Référencé par publishNewsFeeds(), et unPublishNewsFeeds().
editNewsFeed | ( | $ | edit | ) |
Creates a new or edits and existing user record
Références $cid, $db, $edit, $option, $query, $user, JText::_(), JHTML::_(), HTML_newsfeeds::editNewsFeed(), JRequest::getCmd(), JFactory::getDBO(), JTable::getInstance(), JFactory::getUser(), JRequest::getVar(), et JArrayHelper::toInteger().
moveDownNewsFeed | ( | ) |
Moves the record down one position
Références orderNewsFeed().
moveUpNewsFeed | ( | ) |
Moves the record up one position
Références orderNewsFeed().
orderNewsFeed | ( | $ | inc | ) |
Moves the order of a record
integer | The direction to reorder, +1 down, -1 up |
Références $cid, $db, $limit, $limitstart, $mainframe, $option, JRequest::checkToken(), JRequest::getCmd(), JFactory::getDBO(), JTable::getInstance(), JRequest::getVar(), jexit(), et JArrayHelper::toInteger().
Référencé par moveDownNewsFeed(), et moveUpNewsFeed().
publishNewsFeeds | ( | ) |
Publishes one or more modules
Références changePublishNewsFeeds().
removeNewsFeeds | ( | ) |
Removes records
Références $cid, $db, $mainframe, $option, $query, JText::_(), JRequest::checkToken(), JRequest::getCmd(), JFactory::getDBO(), JRequest::getVar(), jexit(), JError::raiseWarning(), et JArrayHelper::toInteger().
saveNewsFeed | ( | ) |
Saves the record from an edit form submit
Références $db, $link, $mainframe, $task, $where, JText::_(), JRequest::checkToken(), JRequest::get(), JFactory::getDBO(), JTable::getInstance(), JRequest::getInt(), JRequest::getVar(), jexit(), et JError::raiseError().
saveOrder | ( | ) |
Saves user reordering entry
Références $cid, $db, $i, $mainframe, $total, JText::_(), JRequest::checkToken(), JFactory::getDBO(), JTable::getInstance(), JRequest::getVar(), jexit(), JError::raiseError(), et JArrayHelper::toInteger().
switch ($task) showNewsFeeds | ( | ) |
List the records
Références $db, $limit, $limitstart, $mainframe, $option, $pageNav, $query, $rows, $total, $where, JHTML::_(), JFactory::getDBO(), jimport(), HTML_newsfeeds::showNewsFeeds(), et JString::strtolower().
unPublishNewsFeeds | ( | ) |
Unpublishes one or more modules
Références changePublishNewsFeeds().
$user = & JFactory::getUser() |