API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
PollController::__construct | ( | $ | default = array() | ) |
Custom Constructor
Réimplémentée à partir de JController.
PollController::cancel | ( | ) |
Références $db, $id, JRequest::checkToken(), JFactory::getDBO(), JTable::getInstance(), JRequest::getVar(), et jexit().
PollController::display | ( | ) |
Références $view, JRequest::getCmd(), et JRequest::setVar().
PollController::display | ( | ) |
Method to show the search view
public
Références JRequest::setVar().
PollController::publish | ( | ) |
Publishes or Unpublishes one or more records
array | An array of unique category id numbers |
integer | 0 if unpublishing, 1 if publishing |
string | The current url option |
Références $cid, $db, $mainframe, $query, $user, JText::_(), JRequest::checkToken(), JFactory::getDBO(), JTable::getInstance(), JFactory::getUser(), JRequest::getVar(), jexit(), JError::raiseError(), et JArrayHelper::toInteger().
PollController::remove | ( | ) |
Références $cid, $db, $i, $n, $poll, JRequest::checkToken(), JFactory::getDBO(), JTable::getInstance(), JRequest::getVar(), jexit(), et JArrayHelper::toInteger().
PollController::save | ( | ) |
Références $db, $i, $link, $text, JText::_(), JRequest::checkToken(), JRequest::get(), JFactory::getDBO(), JTable::getInstance(), JArrayHelper::getValue(), jexit(), et JError::raiseError().
PollController::vote | ( | ) |
Add a vote to an option
Références $db, $itemid, $items, $mainframe, $menu, $poll, JRoute::_(), JText::_(), JRequest::checkToken(), JFactory::getDBO(), JUtility::getHash(), JTable::getInstance(), JSite::getMenu(), JRequest::getVar(), jexit(), et JError::raiseWarning().