当前位置: 首页>>代码示例>>PHP>>正文


PHP Search::show方法代码示例

本文整理汇总了PHP中Search::show方法的典型用法代码示例。如果您正苦于以下问题:PHP Search::show方法的具体用法?PHP Search::show怎么用?PHP Search::show使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Search的用法示例。


在下文中一共展示了Search::show方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: Copyright

Copyright (C) 2003-2013 by the INDEPNET Development Team.

http://indepnet.net/   http://glpi-project.org
-------------------------------------------------------------------------

LICENSE

This file is part of GLPI.

GLPI is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

GLPI is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GLPI. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------
*/
/** @file
* @brief
*/
include '../inc/includes.php';
Session::checkRight("networking", "r");
Html::header(NetworkEquipment::getTypeName(2), $_SERVER['PHP_SELF'], "inventory", "networking");
Search::show('NetworkEquipment');
Html::footer();
开发者ID:gaforeror,项目名称:glpi,代码行数:31,代码来源:networkequipment.php

示例2: Plugin

This file is part of badges.

Badges is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

Badges is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Badges. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------
*/
include '../../../inc/includes.php';
$plugin = new Plugin();
if ($plugin->isActivated("environment")) {
    Html::header(PluginBadgesBadge::getTypeName(2), '', "assets", "pluginenvironmentdisplay", "badges");
} else {
    Html::header(PluginBadgesBadge::getTypeName(2), '', "assets", "pluginbadgesmenu");
}
$badge = new PluginBadgesBadge();
$badge->checkGlobal(READ);
if ($badge->canView()) {
    Search::show("PluginBadgesBadge");
} else {
    Html::displayRightError();
}
Html::footer();
开发者ID:paisdelconocimiento,项目名称:glpi-smartcities,代码行数:31,代码来源:badge.php

示例3: define

-------------------------------------------------------------------------

LICENSE

This file is part of GLPI.

GLPI is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

GLPI is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GLPI. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------
*/
/** @file
* @brief
* @since version 0.85
*/
define('GLPI_ROOT', '..');
include GLPI_ROOT . "/inc/includes.php";
Session::checkRight("queuedmail", READ);
Html::header(QueuedMail::getTypeName(), $_SERVER['PHP_SELF'], "admin", "queuedmail");
Search::show('QueuedMail');
Html::footer();
开发者ID:JULIO8,项目名称:respaldo_glpi,代码行数:30,代码来源:queuedmail.php

示例4: Copyright

This file is part of Webservices plugin for GLPI.

Webservices is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Webservices is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with Webservices. If not, see <http://www.gnu.org/licenses/>.

@package   Webservices
@author    Nelly Mahu-Lasson
@copyright Copyright (c) 2009-2015 Webservices plugin team
@license   AGPL License 3.0 or (at your option) any later version
           http://www.gnu.org/licenses/agpl-3.0-standalone.html
@link      https://forge.glpi-project.org/projects/webservices
@link      http://www.glpi-project.org/
@since     2009
--------------------------------------------------------------------------
*/
include "../../../inc/includes.php";
Plugin::load('webservices');
Session::checkRight("config", UPDATE);
Html::header(__('Web Services', 'webservices'), $_SERVER['PHP_SELF'], "config", "pluginWebservicesClient");
Search::show('PluginWebservicesClient');
Html::footer();
开发者ID:JULIO8,项目名称:respaldo_glpi,代码行数:31,代码来源:client.php

示例5: define

-------------------------------------------------------------------------

LICENSE

This file is part of GLPI.

GLPI is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

GLPI is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GLPI; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
--------------------------------------------------------------------------
*/
// ----------------------------------------------------------------------
// Original Author of file:
// Purpose of file:
// ----------------------------------------------------------------------
define('GLPI_ROOT', '..');
include GLPI_ROOT . "/inc/includes.php";
checkRight("config", "r");
commonHeader($LANG['login'][2], $_SERVER['PHP_SELF'], "config", "extauth", "ldap");
Search::show('AuthLDAP');
commonFooter();
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:31,代码来源:authldap.php

示例6: Copyright

Copyright (C) 2003-2013 by the INDEPNET Development Team.

http://indepnet.net/   http://glpi-project.org
-------------------------------------------------------------------------

LICENSE

This file is part of GLPI.

GLPI is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

GLPI is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GLPI. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------
*/
/** @file
* @brief
*/
include '../inc/includes.php';
Session::checkRight("budget", "r");
Html::header(Budget::getTypeName(1), $_SERVER['PHP_SELF'], "financial", "budget");
Search::show('Budget');
Html::footer();
开发者ID:gaforeror,项目名称:glpi,代码行数:31,代码来源:budget.php

示例7: Plugin

		
This file is part of databases.

Databases is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

Databases is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Databases. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------
*/
include '../../../inc/includes.php';
$plugin = new Plugin();
if ($plugin->isActivated("environment")) {
    Html::header(PluginDatabasesDatabase::getTypeName(2), '', "plugins", "environment", "databases");
} else {
    Html::header(PluginDatabasesDatabase::getTypeName(2), '', "plugins", "databases");
}
$database = new PluginDatabasesDatabase();
if ($database->canView() || Session::haveRight("config", "w")) {
    Search::show('PluginDatabasesDatabase');
} else {
    Html::displayRightError();
}
Html::footer();
开发者ID:geldarr,项目名称:hack-space,代码行数:30,代码来源:database.php

示例8: Copyright

Copyright (C) 2003-2014 by the INDEPNET Development Team.

http://indepnet.net/   http://glpi-project.org
-------------------------------------------------------------------------

LICENSE

This file is part of GLPI.

GLPI is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

GLPI is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GLPI. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------
*/
/** @file
* @brief
*/
include '../inc/includes.php';
Session::checkRight("notification", 'r');
Html::header(Notification::getTypeName(2), $_SERVER['PHP_SELF'], "config", "mailing", "notification");
Search::show('Notification');
Html::footer();
开发者ID:geldarr,项目名称:hack-space,代码行数:31,代码来源:notification.php

示例9: Copyright

Copyright (C) 2003-2014 by the INDEPNET Development Team.

http://indepnet.net/   http://glpi-project.org
-------------------------------------------------------------------------

LICENSE

This file is part of GLPI.

GLPI is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

GLPI is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GLPI. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------
*/
/** @file
* @brief
*/
include '../inc/includes.php';
Session::checkRight("config", "r");
Html::header(NotificationTemplate::getTypeName(2), $_SERVER['PHP_SELF'], "config", "mailing", "notificationtemplate");
Search::show('NotificationTemplate');
Html::footer();
开发者ID:geldarr,项目名称:hack-space,代码行数:31,代码来源:notificationtemplate.php

示例10: Copyright

  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  FusionInventory is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  GNU Affero General Public License for more details.

  You should have received a copy of the GNU Affero General Public License
  along with FusionInventory. If not, see <http://www.gnu.org/licenses/>.

  ------------------------------------------------------------------------

  @package   FusionInventory
  @author    David Durieux
  @co-author
  @copyright Copyright (c) 2010-2014 FusionInventory team
  @license   AGPL License 3.0 or (at your option) any later version
             http://www.gnu.org/licenses/agpl-3.0-standalone.html
  @link      http://www.fusioninventory.org/
  @link      http://forge.fusioninventory.org/projects/fusioninventory-for-glpi/
  @since     2010

  ------------------------------------------------------------------------
*/
include "../../../inc/includes.php";
Html::header(__('FusionInventory', 'fusioninventory'), $_SERVER["PHP_SELF"], "plugins", "pluginfusioninventorymenu", "iprange");
Session::checkRight('plugin_fusioninventory_iprange', READ);
PluginFusioninventoryMenu::displayMenu("mini");
Search::show('PluginFusioninventoryIPRange');
Html::footer();
开发者ID:paisdelconocimiento,项目名称:glpi-smartcities,代码行数:31,代码来源:iprange.php

示例11: PluginRacksRack

https://forge.indepnet.net/projects/racks
-------------------------------------------------------------------------

LICENSE
               
This file is part of Racks.

Racks is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

Racks is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Racks. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------
*/
include '../../../inc/includes.php';
Html::header(PluginRacksRack::getTypeName(2), '', "assets", "pluginracksmenu", "racks");
$PluginRacksRack = new PluginRacksRack();
if ($PluginRacksRack->canView() || Config::canCreate()) {
    Search::show("PluginRacksRack");
} else {
    Html::displayRightError();
}
Html::footer();
开发者ID:paisdelconocimiento,项目名称:glpi-smartcities,代码行数:30,代码来源:rack.php

示例12: Copyright

  Plugin Monitoring for GLPI is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  GNU Affero General Public License for more details.

  You should have received a copy of the GNU Affero General Public License
  along with Monitoring. If not, see <http://www.gnu.org/licenses/>.

  ------------------------------------------------------------------------

  @package   Plugin Monitoring for GLPI
  @author    Frédéric Mohier
  @co-author
  @comment
  @copyright Copyright (c) 2011-2013 Plugin Monitoring for GLPI team
  @license   AGPL License 3.0 or (at your option) any later version
             http://www.gnu.org/licenses/agpl-3.0-standalone.html
  @link      https://forge.indepnet.net/projects/monitoring/
  @since     2011

  ------------------------------------------------------------------------
*/
include "../../../inc/includes.php";
Session::checkRight("plugin_monitoring_service", READ);
Html::header(__('Monitoring - resources events', 'monitoring'), '', "plugins", "monitoring", "event");
$pmMessage = new PluginMonitoringMessage();
$pmMessage->getMessages();
$pmDisplay = new PluginMonitoringDisplay();
$pmDisplay->menu();
Search::show('PluginMonitoringServiceevent');
Html::footer();
开发者ID:paisdelconocimiento,项目名称:glpi-smartcities,代码行数:31,代码来源:serviceevent.php

示例13: PluginArchiresLocationQuery

 https://forge.indepnet.net/projects/archires
 -------------------------------------------------------------------------

 LICENSE

 This file is part of archires.

 Archires is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.

 Archires is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with Archires. If not, see <http://www.gnu.org/licenses/>.
 --------------------------------------------------------------------------
*/
include "../../../inc/includes.php";
Html::header(PluginArchiresArchires::getTypeName() . " " . PluginArchiresLocationQuery::getTypeName(), '', "plugins", "archires", "location");
$PluginArchiresLocationQuery = new PluginArchiresLocationQuery();
if ($PluginArchiresLocationQuery->canView() || Session::haveRight("config", "w")) {
    Search::show("PluginArchiresLocationQuery");
} else {
    Html::displayRightError();
}
Html::footer();
开发者ID:geldarr,项目名称:hack-space,代码行数:30,代码来源:locationquery.php

示例14: showList

 function showList()
 {
     Search::show('PluginFusioninventoryDeployPackage');
 }
开发者ID:paisdelconocimiento,项目名称:glpi-smartcities,代码行数:4,代码来源:deploypackage.class.php

示例15: Copyright

based on GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2014 by the INDEPNET Development Team.

-------------------------------------------------------------------------

LICENSE

This file is part of GLPI.

GLPI is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

GLPI is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GLPI. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------
*/
/** @file
* @brief
*/
include '../inc/includes.php';
Session::checkRight("document", READ);
Html::header(Document::getTypeName(Session::getPluralNumber()), $_SERVER['PHP_SELF'], "management", "document");
Search::show('Document');
Html::footer();
开发者ID:jose-martins,项目名称:glpi,代码行数:31,代码来源:document.php


注:本文中的Search::show方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。