本文整理汇总了PHP中ei_icon函数的典型用法代码示例。如果您正苦于以下问题:PHP ei_icon函数的具体用法?PHP ei_icon怎么用?PHP ei_icon使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ei_icon函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: evaluateSubBreadCamp
public function evaluateSubBreadCamp(sfWebRequest $request, $act)
{
$getDeliveryCampaigns = $this->urlParameters;
$getDeliveryCampaigns['delivery_id'] = $this->ei_delivery->getId();
$this->breadcrumb[] = array('logo' => ei_icon('ei_campaign'), 'title' => 'Delivery Campaigns', 'uri' => $this->generateUrl('getDeliveryCampaigns', $getDeliveryCampaigns), 'active' => false, 'is_last_bread' => false, 'id' => "AccessDeliveryCampaignsOnBreadCrumb", 'class' => "");
switch ($act) {
case "getDeliveryCampaigns":
$this->breadcrumb[] = array('logo' => '', 'title' => 'List', 'uri' => '#', 'active' => true, 'is_last_bread' => true, 'id' => "", 'class' => "");
break;
case "index":
$this->breadcrumb[] = array('logo' => '', 'title' => 'List', 'uri' => '#', 'active' => true, 'is_last_bread' => true, 'id' => "", 'class' => "");
break;
case "new":
$this->breadcrumb[] = array('logo' => '', 'title' => 'New ', 'uri' => '#', 'active' => true, 'is_last_bread' => true, 'id' => "", 'class' => "");
break;
case "create":
$this->breadcrumb[] = array('logo' => '', 'title' => 'Create', 'uri' => '#', 'active' => true, 'is_last_bread' => true, 'id' => "", 'class' => "");
break;
case "edit":
$this->checkEiDelivery($request, $this->ei_project);
$this->breadcrumb[] = array('logo' => '', 'title' => MyFunction::troncatedText($this->ei_delivery, 20), 'uri' => '#', 'active' => true, 'is_last_bread' => true, 'id' => "", 'class' => "");
break;
case "update":
$this->checkEiDelivery($request, $this->ei_project);
$this->breadcrumb[] = array('logo' => '', 'title' => MyFunction::troncatedText($this->ei_delivery, 20), 'uri' => '#', 'active' => true, 'is_last_bread' => true, 'id' => "", 'class' => "");
break;
case "show":
$this->checkEiDelivery($request, $this->ei_project);
$this->breadcrumb[] = array('logo' => '', 'title' => MyFunction::troncatedText($this->ei_delivery, 20), 'uri' => '#', 'active' => true, 'is_last_bread' => true, 'id' => "", 'class' => "");
break;
default:
break;
}
}
示例2: executeSideBarHeaderObject
public function executeSideBarHeaderObject(sfWebRequest $request)
{
$this->checkProject($request);
//Récupération du projet
$this->checkProfile($request, $this->ei_project);
$this->ei_scenario_id = $request->getParameter('ei_scenario_id');
/** @var EiUser $user */
$user = $this->getUser()->getGuardUser()->getEiUser();
$this->user_settings = Doctrine_Core::getTable('EiUserSettings')->findOneByUserRefAndUserId($user->getRefId(), $user->getUserId());
$this->firefox_path = $this->user_settings == null ?: $this->user_settings->getFirefoxPath();
if ($this->ei_scenario_id) {
$this->ei_scenario = Doctrine_Core::getTable('EiScenario')->find(array($request->getParameter('ei_scenario_id')));
if ($this->ei_scenario != null) {
//Recherche de la version courante du scénario
$this->getEiVersion($request->getParameter('ei_version_id'));
//Récupération de la version du scénario correspondant au profil courant
$this->defaultVersion = $this->ei_scenario->getVersionForProfil($this->ei_profile);
}
}
$this->mod = $request->getParameter('module');
$this->act = $request->getParameter('action');
$this->objMenu = array();
switch ($this->mod) {
case 'eiversion':
switch ($this->act) {
case 'index':
case 'new':
case 'create':
$projet_new_eiversion = $this->urlParameters;
$projet_new_eiversion['ei_scenario_id'] = $this->ei_scenario->getId();
$projet_new_eiversion['action'] = 'index';
$this->objTitle = 'Versions';
$this->logoTitle = ei_icon('ei_version');
$this->objMenu[] = array('logo' => ei_icon('ei_list'), 'title' => 'List', 'uri' => $this->generateUrl('projet_new_eiversion', $projet_new_eiversion) . '#', 'active' => $this->mod == 'eiversion' && $this->act == 'index' ? true : false, 'class' => "", 'id' => "", 'tab' => '', 'titleAttr' => "Scenario versions");
$projet_new_eiversion['action'] = 'new';
$this->objMenu[] = array('logo' => ei_icon('ei_add'), 'title' => 'New', 'uri' => $this->generateUrl('projet_new_eiversion', $projet_new_eiversion) . '#', 'active' => $this->mod == 'eiversion' && ($this->act == 'new' || $this->act == 'create') ? true : false, 'class' => "", 'id' => "", 'tab' => '', 'titleAttr' => "New scenario version");
break;
break;
break;
case 'edit':
case 'update':
case 'show':
case 'editVersionWithPackage':
$this->objTitle = $this->ei_version->getLibelle();
$this->logoTitle = ei_icon('ei_version');
$this->objMenu[] = array('logo' => '<i class="fa fa-wrench"></i>', 'title' => 'Properties', 'uri' => '#informations', 'active' => false, 'class' => "", 'tab' => 'tab', 'id' => "versionProp", 'titleAttr' => "Version properties");
$this->objMenu[] = array('logo' => ei_icon('ei_version'), 'title' => 'Structure', 'uri' => '#block', 'active' => $this->mod == 'eiversion' && ($this->act == 'edit' || $this->act == 'update' || $this->act == 'show') ? true : false, 'class' => "", 'id' => "versionStructure", 'tab' => 'tab', 'titleAttr' => "Version structure");
break;
break;
break;
break;
default:
break;
}
break;
default:
break;
}
}
示例3: executeSideBarHeaderObject
public function executeSideBarHeaderObject(sfWebRequest $request)
{
$this->checkProject($request);
//Récupération du projet
$this->checkProfile($request, $this->ei_project);
$this->checkEiScenario($request, $this->ei_project);
$this->mod = $request->getParameter('module');
$this->act = $request->getParameter('action');
$this->objMenu = array();
switch ($this->mod) {
case 'eidataset':
switch ($this->act) {
case 'edit':
case 'update':
$this->urlExcelRequest = url_for2("api_generate_excel_request_api", array('project_id' => $this->project_id, 'project_ref' => $this->project_ref, 'profile_id' => $this->profile_id, 'profile_ref' => $this->profile_ref, 'profile_name' => $this->profile_name));
$urlOpenDataSetXml = url_for2("eidataset_download", array('project_id' => $this->project_id, 'project_ref' => $this->project_ref, 'profile_id' => $this->profile_id, 'profile_ref' => $this->profile_ref, 'profile_name' => $this->profile_name, 'ei_data_set_id' => $this->ei_data_set->getId(), 'sf_format' => "xml"));
$this->objTitle = $this->ei_data_set->getEiDataSetTemplate()->getName();
$this->logoTitle = ei_icon('ei_dataset');
$this->objMenu[] = array('logo' => '<i class="fa fa-wrench"></i>', 'title' => 'Properties', 'uri' => '#datasetProperties', 'active' => true, 'class' => "", 'tab' => 'tab', 'id' => "datasetPropertiesTab", 'titleAttr' => "Data set properties");
$this->objMenu[] = array('logo' => '<i class="fa fa-code"></i>', 'title' => 'Sources', 'uri' => '#datasetSource', 'active' => false, 'class' => "", 'id' => "datasetSourceTab", 'tab' => 'tab', 'titleAttr' => "Data set XML source");
$this->objMenu[] = array('logo' => ei_icon('ei_version'), 'title' => 'Versions', 'uri' => '#datasetVersions', 'active' => false, 'class' => "", 'id' => "datasetVersionsTab", 'tab' => 'tab', 'titleAttr' => "Data set versions");
// $this->objMenu[] = array(
// 'logo' => ei_icon("ei_testset"),
// 'title' => 'Reports',
// 'uri' => '#datasetReports',
// 'active' => false,
// 'class' => "",
// 'id' => "datasetReportsTab",
// 'tab' => 'tab',
// 'titleAttr' => "Data set reports");
$this->objMenu[] = array('logo' => '<i class="fa fa-download"></i>', 'title' => '', 'uri' => $urlOpenDataSetXml, 'active' => false, 'class' => "", 'id' => "datasetDownloadTab", 'titleAttr' => "Download data set");
$this->objMenu[] = array('logo' => '<img src="' . sfConfig::get("app_icone_excel_24x24_path") . '" alt="" width="20" title="Open data set in Excel" class="excel-icon-img disabledOracle" />', 'title' => '', 'uri' => $this->urlExcelRequest, 'active' => false, 'class' => "excel-open-jdd excelIcon", 'id' => "datasetOpenInExcelTab", 'titleAttr' => "Open in Excel", 'data-id' => $this->ei_data_set->getId());
$this->objMenu[] = array('logo' => '<i class="fa fa-times"></i>', 'title' => '', 'uri' => '#', 'active' => false, 'class' => "btn-close", 'id' => "datasetCloseTab", 'tab' => 'tab', 'titleAttr' => "Close Data set");
break;
default:
break;
}
break;
default:
break;
}
}
示例4: getPathTo
public function getPathTo(array $breadcrumb, EiProjet $ei_project, EiProfil $ei_profile)
{
$chemin = $this->getNode()->getPathTo();
$base_uri = array('project_id' => $ei_project->getProjectId(), 'project_ref' => $ei_project->getRefId(), 'profile_id' => $ei_profile->getProfileId(), 'profile_ref' => $ei_profile->getProfileRef(), 'profile_name' => $ei_profile->getName());
foreach ($chemin as $i => $node) {
if ($node->getType() == 'EiFolder') {
$path_folder = $base_uri;
$path_folder['folder_id'] = $node->getObjId();
$path_folder['node_id'] = $node->getId();
$path_folder['action'] = 'edit';
$uri = url_for2('path_folder', $path_folder);
$logo = ei_icon('ei_folder', null, null, null, 'ei-folder');
} else {
$logo = ei_icon('ei_scenario');
$projet_new_eiversion = $base_uri;
$projet_new_eiversion['ei_scenario_id'] = $node->getObjId();
$projet_new_eiversion['action'] = 'editVersionWithoutId';
$uri = url_for2('projet_new_eiversion', $projet_new_eiversion);
}
$breadcrumb[] = array('logo' => $logo, 'title' => $node, 'uri' => $uri, 'active' => false, 'is_last_bread' => false);
}
return $breadcrumb;
}
示例5: ei_icon
<div class=" form-group ">
<label class="control-label col-lg-2 col-md-2">Data set</label>
<div class="col-lg-9 col-md-9 ">
<input class="form-control" id="appendedInputDataSetButton" type="text" disabled="disabled"
value="<?php
if ($form['ei_data_set_id']->getValue() != null) {
echo $form->getObject()->getBugContextJdd();
}
?>
">
</div>
<div class="col-lg-1 col-md-1 ">
<button class="btn btn-default" id="campaignGraphDataSetSearch" type="button">
<?php
echo ei_icon('ei_search');
?>
</button>
</div>
</div>
<div id="campaignGraphDataSetAddBox">
<div id="arbre_jdd">
<?php
if (!$form->getObject()->isNew() && $form->getObject()->getBugContextScenario() != null) {
$ei_node = $form->getObject()->getBugContextScenario()->getNode();
$ei_data_set_root_folder = Doctrine_Core::getTable('EiNode')->findOneByRootIdAndType($ei_node->getId(), 'EiDataSetFolder');
$ei_data_set_children = Doctrine_Core::getTable('EiNode')->findByRootId($ei_data_set_root_folder->getId());
//Construction du tableau de paramètres du partiel
$testSuiteJddRootFolder = $url_params;
$testSuiteJddRootFolder['ei_data_set_children'] = $ei_data_set_children;
$testSuiteJddRootFolder['ei_data_set_root_folder'] = $ei_data_set_root_folder;
示例6: url_for2
List
</a>
</li>
<li class=" subjectItem <?php
if (isset($activeItem) && $activeItem == 'New') {
echo 'active';
}
?>
">
<a class=" btn btn-sm " href="<?php
echo url_for2('subject_new', $url_tab);
?>
#"
title="New intervention" id="AccessBugsListOnHeader">
<?php
echo ei_icon('ei_subject');
?>
New intervention
</a>
</li>
<!-- <li class="<?php
//if(isset($activeItem) && $activeItem=='stateList' ): echo 'active' ; endif;
?>
">
<a class=" btn btn-sm " href="<?php
//echo url_for2('bug_state', $url_tab)
?>
#" id="adminBugssStates">
<i class="fa fa-genderless"></i> States
</a>
</li>-->
示例7: ei_icon
<?php
if (isset($url_tab)) {
?>
<!--
* Box de création et edition d'une itération
-->
<div id="iterationModal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="iterationModalTitle" ><?php
echo ei_icon('ei_iteration');
?>
Iteration properties</h3>
<i class="eiLoading" ></i>
</div>
<div class="modal-body" id="iterationModalContent">
</div>
<div class="modal-footer">
<button class="btn btn-sm btn-success pull-right" id="saveIteration" type="submit">
<i class="fa fa-check"></i> Save
</button>
<a href="#" class="btn btn-sm btn-danger" data-dismiss="modal" aria-hidden="true">
Close
</a>
</div>
示例8: ei_icon
?>
</td>
<td > <?php
echo ei_icon('ei_user');
?>
<?php
echo $history['uau_username'];
?>
</td>
<td>
<i class="fa <?php
echo $history['sah_is_assignment'] ? 'fa-plus text-success' : 'fa-minus text-danger';
?>
"></i></i>
<?php
echo ei_icon('ei_user');
?>
<?php
echo $history['uas_username'];
?>
</td>
</tr>
<?php
}
?>
<?php
}
?>
</tbody>
</table>
示例9: ei_icon
<div class="panel panel-default eiPanel">
<div class="panel-heading">
<h2>
<?php
if (!$form->getObject()->isNew()) {
?>
<?php
echo ei_icon('ei_edit');
?>
Edit
<?php
} else {
?>
<h2><strong><i class="fa fa-wrench"></i>Properties </strong> / <?php
echo ei_icon('ei_edit');
?>
</h2>
<?php
}
?>
</h2>
<div class="panel-actions">
</div>
</div>
<form id="campaignForm" action="<?php
echo url_for2($url_form, $url_params);
?>
"
method="post" <?php
$form->isMultipart() and print 'enctype="multipart/form-data" ';
示例10: url_for2
if (isset($ei_iteration)) {
?>
<li class="<?php
if (isset($activeItem) && $activeItem == 'statistics') {
echo 'active';
}
?>
">
<?php
$it_stats_uri = $url_tab;
$it_stats_uri['action'] = "statistics";
?>
<a class=" btn btn-sm " href="<?php
echo url_for2('ei_iteration_actions', $it_stats_uri);
?>
#" id="AccessIterationStatsOnHeader" title="Iteration statistics">
<?php
echo ei_icon('ei_stats');
?>
Statistics
</a>
</li>
<?php
}
?>
</ul>
</div>
示例11: isset
</li>
<?php
}
?>
<?php
$defaultIntLinkParams = $url_tab;
$defaultIntLinkParams['defaultIntervention'] = isset($defaultIntervention) ? $defaultIntervention : null;
include_partial('eisubject/defaultIntLink', $defaultIntLinkParams);
?>
</ul>
<?php
}
?>
</div>
<div id="supportContact">
<strong><?php
echo ei_icon('ei_mail');
?>
support@eisge.com</strong><br/>
<strong><?php
echo ei_icon('ei_phone');
?>
+33 9 707 3 4 5 6 7</strong>
</div>
<?php
}
?>
示例12: ei_icon
">
<a href="#deliverySearchBoxForSteps" data-toggle="modal" id="openDeliverySearchBoxForSteps">
<?php
echo ei_icon('ei_delivery') . ' ' . (isset($ei_delivery) && $ei_delivery != null ? MyFunction::troncatedText($ei_delivery, 10) : '');
?>
</a>
</li>
<li class="<?php
echo isset($ei_subject) && $ei_subject != null ? 'active col-lg-4 col-md-4' : 'col-lg-4 col-md-4';
?>
">
<a href="#subjectSearchBoxForSteps" data-toggle="modal" id="openSubjectSearchBoxForSteps">
<?php
echo ei_icon('ei_subject') . ' ' . (isset($ei_subject) && $ei_subject != null ? MyFunction::troncatedText($ei_subject, 10) : '');
?>
</a>
</li>
</ul>
</div>
<!-- Box de recherche d'une livraison-->
<div id="deliverySearchBoxForSteps" class="modal ">
<div class="modal-dialog">
<div class="modal-content">
示例13: include_partial
</a>
<ul class="dropdown-menu open" id="webDriverDropdown">
<?php
/*foreach( EiDeviceUserTable::getMyDevices($sf_user->getEiUser()->getUserId()) as $device ){
include_partial("eiscenario/deviceChoice", array("device" => $device));
}*/
EiDevice::displayDevicesList($sf_user->getEiUser()->getUserId());
?>
</ul>
</div>
<div class="text" id="btnSwitchExecutionMenuContainer">
<a href="#" title="Open/Close execution menu" id="btnSwitchExecutionMenu">
<?php
echo ei_icon('ei_user_settings', '', 'fa-2x');
?>
</a>
</div>
<div class="text">
<span class="hidden-sm hidden-xs hidden-md hidden-lg">Play</span>
<a href="#" title="Play scenario" class="disabledOracle" id="btnPlayScenarioInIde" data-player-jdd="<?php
echo $idJdd;
?>
"
data-player-id="<?php
echo $ei_scenario->getId();
?>
" data-player-nom="<?php
echo $ei_scenario->getNomScenario();
示例14: array
<li id="eiProjectCurrentSubjectLi">
<?php
if (isset($defaultIntervention) && $defaultIntervention != null) {
$url_tab = array('project_id' => $project_id, 'project_ref' => $project_ref, 'profile_id' => $profile_id, 'profile_ref' => $profile_ref, 'profile_name' => $profile_name);
$subject_show_uri = $url_tab;
$subject_show_uri['subject_id'] = $defaultIntervention['subject_id'];
?>
<a href="<?php
echo url_for2('subject_show', $subject_show_uri);
?>
#" id="eiProjectCurrentSubject" class="btn btn-link col-lg-5 col-md-5" >
<?php
echo ei_icon('ei_subject', 'lg');
?>
<?php
echo 'S ' . $defaultIntervention['subject_id'];
?>
</a>
<?php
}
?>
</li>
示例15: ei_icon
<?php
if (isset($form) && isset($url_form) && $inParameters && isset($outParameters)) {
?>
<div class="panel panel-default eiPanel " id="versionNoticeForm" >
<div class="panel-heading">
<h2><?php
echo ei_icon('ei_properties');
?>
Properties</h2>
</div>
<div class="panel-body clearfix" id="versionNoticeFormContent">
<?php
include_partial('eiversionnotice/form', array('form' => $form, 'url_form' => $url_form, 'inParameters' => $inParameters, 'outParameters' => $outParameters));
?>
</div>
<div class="panel panel-footer">
<div class="row">
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-3">
<a class="btn btn-success" id="saveVersionNotice" href="#">
<i class="fa fa-check"></i> Save
</a>
</div>
<div class="col-lg-1 col-md-1 col-sm-1 col-xs-1"><i id="noticeLoader" ></i></div>
<div class="col-lg-9 col-md-9 col-sm-9 col-xs-8" id="alertNoticeMsg" >
<div class=" row alert alert-success" ><strong>Well done!</strong> datas successfully saved... </div>
<div class="row alert alert-danger"><strong>Warning !</strong>Errors in form. datas wasn't saved... </div>
</div>
</div>