API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
cancelContact | ( | ) |
PT Cancels editing and checks in the record
Références $db, $mainframe, JRequest::checkToken(), JRequest::get(), JFactory::getDBO(), JTable::getInstance(), et jexit().
changeAccess | ( | $ | id, |
$ | access | ||
) |
changes the access level of a record
integer | The increment to reorder by |
Références $access, $db, $id, $mainframe, JRequest::checkToken(), JFactory::getDBO(), JTable::getInstance(), et jexit().
changeContact | ( | $ | cid = null , |
$ | state = 0 |
||
) |
Changes the state of one or more content pages
array | An array of unique category id numbers |
integer | 0 if unpublishing, 1 if publishing |
string | The current option |
Références $cid, $db, $mainframe, $query, $state, $user, JText::_(), JRequest::checkToken(), JFactory::getDBO(), JTable::getInstance(), JFactory::getUser(), jexit(), JError::raiseError(), et JArrayHelper::toInteger().
editContact | ( | $ | edit | ) |
Creates a new or edits and existing user record
int | The id of the record, 0 if a new entry |
string | The current GET/POST option |
Références $cid, $db, $edit, $file, $option, $params, $query, $user, JHTML::_(), JRequest::getCmd(), JFactory::getDBO(), JTable::getInstance(), JFactory::getUser(), JRequest::getVar(), et JArrayHelper::toInteger().
orderContacts | ( | $ | uid, |
$ | inc | ||
) |
JJC Moves the order of a record
integer | The increment to reorder by |
Références $db, $mainframe, JRequest::checkToken(), JFactory::getDBO(), JTable::getInstance(), et jexit().
removeContacts | ( | &$ | cid | ) |
Removes records
array | An array of id keys to remove |
string | The current GET/POST option |
Références $cid, $db, $mainframe, $query, JRequest::checkToken(), JFactory::getDBO(), jexit(), et JArrayHelper::toInteger().
saveContact | ( | $ | task | ) |
Saves the record from an edit form submit
string | The current GET/POST option |
Références $db, $k, $link, $mainframe, $params, $query, $task, $where, JText::_(), JRequest::checkToken(), JRequest::get(), JFactory::getDBO(), JTable::getInstance(), JRequest::getVar(), jexit(), JError::raiseError(), et JText::sprintf().
saveOrder | ( | &$ | cid | ) |
Références $cid, $db, $i, $mainframe, $total, JRequest::checkToken(), JFactory::getDBO(), JTable::getInstance(), JRequest::getVar(), jexit(), JError::raiseError(), et JArrayHelper::toInteger().
switch ($task) showContacts | ( | $ | option | ) |
List the records
string | The current GET/POST option |
Références $db, $limit, $limitstart, $mainframe, $option, $pageNav, $query, $rows, $total, $where, JHTML::_(), JFactory::getDBO(), jimport(), et JString::strtolower().
$cid = JRequest::getVar('cid', array(0), 'post', 'array') |
$id = JRequest::getVar('id', 0, 'get', 'int') |
Référencé par WeblinksModelWeblink::__construct(), UserModelUser::__construct(), ContentModelSection::__construct(), NewsfeedsModelNewsfeed::__construct(), iLink::__construct(), WeblinksModelCategory::__construct(), NewsfeedsModelCategory::__construct(), ContentModelCategory::__construct(), ContentModelArticle::__construct(), MenusModelList::_addChildren(), JSession::_createId(), gacl_api::_defaultGenID(), WeblinksHelperRoute::_findItem(), ContentHelperRoute::_findItem(), ContactModelContact::_getContactQuery(), plgUserJoomla::_getUser(), plgSystemBacklink::_legacysef(), JCacheStorageFile::_setExpire(), JUserHelper::activateUser(), JMenu::authorize(), UsersController::block(), JHTMLSelect::booleanlist(), JHTML::calendar(), PollController::cancel(), changeAccess(), MenusModelItem::checkout(), BannersModelBanner::click(), UserModelReset::completeReset(), ContactParseRoute(), MenusModelList::copy(), BannerControllerBanner::copy(), copyCategorySave(), categories_html::copyCategorySelect(), ContentView::copySection(), copySectionSave(), sections_html::copySectionSelect(), gacl_api::del_object_section(), MenusModelList::delete(), deleteTrash(), JSessionStorageDatabase::destroy(), InstallerModelComponents::disable(), UserViewReset::display(), ContentViewFrontpage::display(), ContentViewArticle::display(), MenusController::doCopyMenu(), MenusController::doDeleteMenu(), ContentController::editContent(), InstallerModelComponents::enable(), JCacheOutput::end(), JElementCalendar::fetchElement(), JButtonCustom::fetchId(), ContentController::findkey(), gacl_api::format_groups(), MenusModelList::fromTrash(), JHTMLSelect::genericlist(), JCachePage::get(), JFactory::getApplication(), ContentHelperRoute::getArticleRoute(), JApplicationHelper::getClientInfo(), MenusModelList::getComponent(), MenusModelItem::getComponent(), JA_Tools::getCurrentMenuIndex(), JUser::getInstance(), JRegistry::getInstance(), JMail::getInstance(), JMenu::getItem(), JApplication::getItemid(), modRelatedItemsHelper::getList(), ModulesModelModule::getModule(), JMenu::getParams(), modPollHelper::getPoll(), modPollHelper::getPollOptions(), modRelatedItemsHelper::getRelatedItemsById(), MenusModelMenutype::getTable(), JSite::getTemplate(), BannersModelBanner::getUrl(), JFactory::getUser(), xmlrpcval::getval(), WeblinksHelperRoute::getWeblinkRoute(), JDatabaseMySQLi::insertObject(), JDatabaseMySQL::insertObject(), JInstallerPlugin::install(), JInstallerModule::install(), JHTMLMenu::linkoptions(), JFolder::listFolderTree(), UsersController::logout(), mosGetMenuLink(), mosRecurseVIMenu(), mosShowVIMenu(), mosTreeRecurse(), MenusModelList::move(), categories_html::moveCategorySelect(), ContentView::moveSection(), ContentController::moveSectionSave(), JHTMLSelect::options(), MenusController::orderdown(), JHTMLMenu::ordering(), mosAdminMenus::Ordering(), MenusController::orderup(), MenusHelper::Parent(), GeSHi::parse_non_string_part(), plgContentVote(), JHTMLList::positions(), mosAdminMenus::Positions(), ContentController::previewContent(), JHTMLSelect::radiolist(), JSessionStorageDatabase::read(), InstallerModelLanguages::remove(), InstallerModel::remove(), UsersController::remove(), removeFrontPage(), JButton::render(), JComponentHelper::renderComponent(), JAdminCSSMenu::renderMenu(), UserModelReset::requestReset(), ContentHelper::resetHits(), JSession::restart(), MenusController::saveMenu(), GeSHi::set_overall_id(), MenusModelList::setAccess(), JMenu::setActive(), JMenu::setDefault(), MenusController::setdefault(), WeblinksModelWeblink::setId(), UserModelUser::setId(), ContentModelSection::setId(), NewsfeedsModelNewsfeed::setId(), WeblinksModelCategory::setId(), NewsfeedsModelCategory::setId(), ContentModelCategory::setId(), ContentModelArticle::setId(), JPathway::setItemName(), MenusModelList::setItemState(), JTableUser::setLastVisit(), HTML_trash::showDelete(), HTML_trash::showRestore(), gacl_api::sort_groups(), JHTMLList::specificordering(), mosAdminMenus::SpecificOrdering(), JCacheOutput::start(), JPaneSliders::startPanel(), ContentController::toggleFrontPage(), MenusModelList::toTrash(), JHTMLBehavior::tree(), JHTMLMenu::treerecurse(), JInstallerPlugin::uninstall(), JInstallerModule::uninstall(), JInstallerComponent::uninstall(), JHTMLBehavior::uploader(), viewdeleteTrash(), viewrestoreTrash(), ContentController::vote(), JSessionStorageDatabase::write(), et mosHTML::yesnoRadioList().
Référencé par TOOLBAR_Trash::_DEFAULT(), plgSystemBacklink::_legacysef(), JDocumentHTML::_loadTemplate(), mosToolBar::addNew(), JToolBarHelper::addNew(), mosMenuBar::addNew(), JToolBarHelper::addNewX(), mosMenuBar::addNewX(), mosToolBar::apply(), JToolBarHelper::apply(), mosToolBar::archiveList(), JToolBarHelper::archiveList(), JToolBarHelper::assign(), JController::authorize(), mosToolBar::cancel(), JToolBarHelper::cancel(), JToolBarHelper::custom(), JToolBarHelper::customX(), mosToolBar::deleteList(), JToolBarHelper::deleteList(), JToolBarHelper::deleteListX(), ContentViewCategory::display(), ContentViewArchive::display(), mosToolBar::editCss(), JToolBarHelper::editCss(), JToolBarHelper::editCssX(), mosToolBar::editHtml(), JToolBarHelper::editHtml(), JToolBarHelper::editHtmlX(), mosToolBar::editList(), JToolBarHelper::editList(), JToolBarHelper::editListX(), JController::execute(), JInstallationController::execute(), JButtonStandard::fetchButton(), JButtonConfirm::fetchButton(), ContentViewSection::getItem(), ContentViewFrontpage::getItem(), UsersController::logout(), JToolBarHelper::makeDefault(), mosToolBar::publish(), JToolBarHelper::publish(), BannerControllerBanner::publish(), mosToolBar::publishList(), JToolBarHelper::publishList(), JController::registerTask(), JComponentHelper::renderComponent(), JModuleHelper::renderModule(), mosToolBar::save(), JToolBarHelper::save(), ContentController::save(), PluginsController::save(), BannerControllerBanner::save(), ConfigControllerApplication::save(), saveContact(), saveNewsFeed(), saveSection(), TemplatesController::saveTemplate(), TemplatesController::saveTemplateCSS(), TemplatesController::saveTemplateSource(), BannersViewBanner::setBannerToolbar(), BannersViewClients::setClientToolbar(), mosCommonHTML::tableOrdering(), JToolBarHelper::trash(), mosToolBar::unarchiveList(), JToolBarHelper::unarchiveList(), mosToolBar::unpublish(), JToolBarHelper::unpublish(), mosToolBar::unpublishList(), et JToolBarHelper::unpublishList().
$user = & JFactory::getUser() |
if(!$user->authorize( 'com_contact', 'manage')) |