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


PHP Vtiger_Theme::getImagePath方法代码示例

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


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

示例1: getSettingLinks

 public function getSettingLinks()
 {
     $settingsLinks = parent::getSettingLinks();
     $layoutEditorImagePath = Vtiger_Theme::getImagePath('LayoutEditor.gif');
     $db = PearDatabase::getInstance();
     $result = $db->query("SELECT fieldid FROM vtiger_settings_field WHERE name =  'OSSMailView' AND description =  'OSSMailView'", true);
     $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'Konfiguracja modułu', 'linkurl' => 'index.php?module=OSSMailView&parent=Settings&view=index&block=4&fieldid=' . $db->query_result($result, 0, 'fieldid'), 'linkicon' => $layoutEditorImagePath);
     return $settingsLinks;
 }
开发者ID:rcrrich,项目名称:UpdatePackages,代码行数:9,代码来源:Module.php

示例2: getSettingLinks

 public function getSettingLinks()
 {
     vimport('~~modules/com_vtiger_workflow/VTWorkflowUtils.php');
     $layoutEditorImagePath = Vtiger_Theme::getImagePath('LayoutEditor.gif');
     $settingsLinks = array();
     $db = PearDatabase::getInstance();
     $result = $db->query("SELECT fieldid FROM vtiger_settings_field WHERE name =  'OSSMail' AND description =  'OSSMail'", true);
     $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_MODULE_CONFIGURATION', 'linkurl' => 'index.php?module=OSSMail&parent=Settings&view=index&block=4&fieldid=' . $db->query_result($result, 0, 'fieldid'), 'linkicon' => $layoutEditorImagePath);
     return $settingsLinks;
 }
开发者ID:rcrrich,项目名称:UpdatePackages,代码行数:10,代码来源:Module.php

示例3: getSettingLinks

 /**
  * Function to get Settings links
  * @return <Array>
  */
 public function getSettingLinks()
 {
     vimport('~~modules/com_vtiger_workflow/VTWorkflowUtils.php');
     $editWorkflowsImagePath = Vtiger_Theme::getImagePath('EditWorkflows.png');
     $settingsLinks = array();
     if (VTWorkflowUtils::checkModuleWorkflow($this->getName())) {
         $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_EDIT_WORKFLOWS', 'linkurl' => 'index.php?parent=Settings&module=Workflows&view=List&sourceModule=' . $this->getName(), 'linkicon' => $editWorkflowsImagePath);
     }
     return $settingsLinks;
 }
开发者ID:nikdejan,项目名称:YetiForceCRM,代码行数:14,代码来源:Module.php

示例4: getListViewLinks

 /**
  * Function to get the list of listview links for the module
  * @param <Array> $linkParams
  * @return <Array> - Associate array of Link Type to List of Vtiger_Link_Model instances
  */
 public function getListViewLinks($linkParams)
 {
     $links = parent::getListViewLinks($linkParams);
     $currentUserModel = Users_Record_Model::getCurrentUserModel();
     $moduleModel = $this->getModule();
     unset($links['LISTVIEW']);
     unset($links['LISTVIEWSETTING']);
     if ($currentUserModel->isAdminUser()) {
         $settingsLink = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_EDIT_WORKFLOWS', 'linkurl' => 'index.php?parent=Settings&module=Workflow&sourceModule=' . $this->getName(), 'linkicon' => Vtiger_Theme::getImagePath('EditWorkflows.png'));
         $links['LISTVIEWSETTING'][] = Vtiger_Link_Model::getInstanceFromValues($settingsLink);
     }
     return $links;
 }
开发者ID:Bergdahls,项目名称:YetiForceCRM,代码行数:18,代码来源:ListView.php

示例5: getSettingLinks

 /**
  * Function to get Settings links
  * @return <Array>
  */
 public function getSettingLinks()
 {
     if (!$this->isEntityModule()) {
         return array();
     }
     vimport('~~modules/com_vtiger_workflow/VTWorkflowUtils.php');
     $layoutEditorImagePath = Vtiger_Theme::getImagePath('LayoutEditor.gif');
     $editWorkflowsImagePath = Vtiger_Theme::getImagePath('EditWorkflows.png');
     $settingsLinks = array();
     if (VTWorkflowUtils::checkModuleWorkflow($this->getName())) {
         $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_EDIT_WORKFLOWS', 'linkurl' => 'index.php?parent=Settings&module=Workflows&view=List&sourceModule=' . $this->getName(), 'linkicon' => $editWorkflowsImagePath);
     }
     $settingsLinks[] = array('linktype' => 'LISTVIEWSETTINGS', 'linklabel' => 'LBL_SERVER_CONFIGURATION', 'linkurl' => 'index.php?parent=Settings&module=PBXManager&view=Index', 'linkicon' => '');
     return $settingsLinks;
 }
开发者ID:Bergdahls,项目名称:YetiForceCRM,代码行数:19,代码来源:Module.php

示例6: getSettingLinks

 public function getSettingLinks()
 {
     vimport('~~modules/com_vtiger_workflow/VTWorkflowUtils.php');
     $layoutEditorImagePath = Vtiger_Theme::getImagePath('LayoutEditor.gif');
     $editWorkflowsImagePath = Vtiger_Theme::getImagePath('EditWorkflows.png');
     $settingsLinks = array();
     $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_EDIT_FIELDS', 'linkurl' => 'index.php?parent=Settings&module=LayoutEditor&sourceModule=' . $this->getName(), 'linkicon' => $layoutEditorImagePath);
     if (VTWorkflowUtils::checkModuleWorkflow($this->getName())) {
         $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_EDIT_WORKFLOWS', 'linkurl' => 'index.php?parent=Settings&module=Workflow&sourceModule=' . $this->getName(), 'linkicon' => $editWorkflowsImagePath);
     }
     $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_EDIT_PICKLIST_VALUES', 'linkurl' => 'index.php?parent=Settings&module=Picklist&source_module=' . $this->getName(), 'linkicon' => '');
     if ($this->hasSequenceNumberField()) {
         $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_MODULE_SEQUENCE_NUMBERING', 'linkurl' => 'index.php?parent=Settings&module=Vtiger&view=CustomRecordNumbering&sourceModule=' . $this->getName(), 'linkicon' => '');
     }
     return $settingsLinks;
 }
开发者ID:nouphet,项目名称:vtigercrm-6.0.0-ja,代码行数:16,代码来源:Module.php

示例7: GetAvailableSettings

 public function GetAvailableSettings()
 {
     $menu_array = array();
     $menu_array["ITS4YouReportsLicense"]["location"] = "index.php?module=ITS4YouReports&view=License";
     $menu_array["ITS4YouReportsLicense"]["image_src"] = Vtiger_Theme::getImagePath('proxy.gif');
     $menu_array["ITS4YouReportsLicense"]["desc"] = "LBL_LICENSE_DESC";
     $menu_array["ITS4YouReportsLicense"]["label"] = "LBL_LICENSE";
     /*
     $menu_array["ITS4YouReportsUninstall"]["location"] = "index.php?module=ITS4YouReports&view=Uninstall";
     $menu_array["ITS4YouReportsUninstall"]["desc"] = "LBL_UNINSTALL_DESC";
     $menu_array["ITS4YouReportsUninstall"]["label"] = "LBL_UNINSTALL";
     */
     $menu_array["ITS4YouReportsUpgrade"]["location"] = "index.php?module=ModuleManager&parent=Settings&view=ModuleImport&mode=importUserModuleStep1";
     $menu_array["ITS4YouReportsUpgrade"]["desc"] = "LBL_UPGRADE";
     $menu_array["ITS4YouReportsUpgrade"]["label"] = "LBL_UPGRADE";
     return $menu_array;
 }
开发者ID:cin-system,项目名称:cinrepo,代码行数:17,代码来源:ITS4YouReports.php

示例8: getSettingLinks

 /**
  * Function to get Settings links
  * @return <Array>
  */
 public function getSettingLinks()
 {
     if (!$this->isEntityModule()) {
         return array();
     }
     vimport('~~modules/com_vtiger_workflow/VTWorkflowUtils.php');
     $layoutEditorImagePath = Vtiger_Theme::getImagePath('LayoutEditor.gif');
     $editWorkflowsImagePath = Vtiger_Theme::getImagePath('EditWorkflows.png');
     $settingsLinks = array();
     $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_EDIT_FIELDS', 'linkurl' => 'index.php?parent=Settings&module=LayoutEditor&sourceModule=' . $this->getName(), 'linkicon' => $layoutEditorImagePath);
     if (VTWorkflowUtils::checkModuleWorkflow($this->getName())) {
         $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_EDIT_WORKFLOWS', 'linkurl' => 'index.php?parent=Settings&module=Workflows&view=List&sourceModule=' . $this->getName(), 'linkicon' => $editWorkflowsImagePath);
     }
     $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_EDIT_PICKLIST_VALUES', 'linkurl' => 'index.php?parent=Settings&module=Picklist&view=Index&source_module=' . $this->getName(), 'linkicon' => '');
     if ($this->hasSequenceNumberField()) {
         $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_MODULE_SEQUENCE_NUMBERING', 'linkurl' => 'index.php?parent=Settings&module=Vtiger&view=CustomRecordNumbering&sourceModule=' . $this->getName(), 'linkicon' => '');
     }
     $webformSupportedModule = Settings_Webforms_Module_Model::getSupportedModulesList();
     if (array_key_exists($this->getName(), $webformSupportedModule)) {
         $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_SETUP_WEBFORMS', 'linkurl' => 'index.php?module=Webforms&parent=Settings&view=Edit&sourceModule=' . $this->getName(), 'linkicon' => '');
     }
     return $settingsLinks;
 }
开发者ID:cannking,项目名称:vtigercrm-debug,代码行数:27,代码来源:Module.php

示例9: getSettingLinks

 /**
  * Function returns Settings Links
  * @return Array
  */
 public function getSettingLinks()
 {
     $currentUserModel = Users_Record_Model::getCurrentUserModel();
     $settingLinks = array();
     if ($currentUserModel->isAdminUser()) {
         $settingLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_EDIT_FIELDS', 'linkurl' => 'index.php?parent=Settings&module=LayoutEditor&sourceModule=' . $this->getName(), 'linkicon' => Vtiger_Theme::getImagePath('LayoutEditor.gif'));
         $settingLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_EDIT_PICKLIST_VALUES', 'linkurl' => 'index.php?parent=Settings&module=Picklist&view=Index&source_module=' . $this->getName(), 'linkicon' => '');
     }
     return $settingLinks;
 }
开发者ID:JeRRimix,项目名称:YetiForceCRM,代码行数:14,代码来源:Module.php

示例10: getSettingLinks

 /**
  * Function to get Settings links
  * @return <Array>
  */
 public function getSettingLinks()
 {
     if (!$this->isEntityModule()) {
         return array();
     }
     vimport('~~modules/com_vtiger_workflow/VTWorkflowUtils.php');
     $layoutEditorImagePath = Vtiger_Theme::getImagePath('LayoutEditor.gif');
     $editWorkflowsImagePath = Vtiger_Theme::getImagePath('EditWorkflows.png');
     $settingsLinks = array();
     $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_EDIT_FIELDS', 'linkurl' => 'index.php?parent=Settings&module=LayoutEditor&sourceModule=' . $this->getName(), 'linkicon' => $layoutEditorImagePath);
     $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_ARRANGE_RELATED_TABS', 'linkurl' => 'index.php?parent=Settings&module=LayoutEditor&mode=showRelatedListLayout&block=2&fieldid=41&sourceModule=' . $this->getName(), 'linkicon' => $layoutEditorImagePath);
     $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_QUICK_CREATE_EDITOR', 'linkurl' => 'index.php?parent=Settings&module=QuickCreateEditor&sourceModule=' . $this->getName(), 'linkicon' => $layoutEditorImagePath);
     $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_TREES_MANAGER', 'linkurl' => 'index.php?parent=Settings&module=TreesManager&view=List&sourceModule=' . $this->getName(), 'linkicon' => $layoutEditorImagePath);
     $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_WIDGETS_MANAGMENT', 'linkurl' => 'index.php?parent=Settings&module=Widgets&view=Index&sourceModule=' . $this->getName(), 'linkicon' => $layoutEditorImagePath);
     if (VTWorkflowUtils::checkModuleWorkflow($this->getName())) {
         $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_EDIT_WORKFLOWS', 'linkurl' => 'index.php?parent=Settings&module=Workflows&view=List&sourceModule=' . $this->getName(), 'linkicon' => $editWorkflowsImagePath);
     }
     $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_EDIT_PICKLIST_VALUES', 'linkurl' => 'index.php?parent=Settings&module=Picklist&view=Index&source_module=' . $this->getName(), 'linkicon' => '');
     $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_PICKLIST_DEPENDENCY', 'linkurl' => 'index.php?parent=Settings&module=PickListDependency&view=List&formodule=' . $this->getName(), 'linkicon' => '');
     if ($this->hasSequenceNumberField()) {
         $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_MODULE_SEQUENCE_NUMBERING', 'linkurl' => 'index.php?parent=Settings&module=Vtiger&view=CustomRecordNumbering&sourceModule=' . $this->getName(), 'linkicon' => '');
     }
     $webformSupportedModule = Settings_Webforms_Module_Model::getSupportedModulesList();
     if (array_key_exists($this->getName(), $webformSupportedModule)) {
         $settingsLinks[] = array('linktype' => 'LISTVIEWSETTING', 'linklabel' => 'LBL_SETUP_WEBFORMS', 'linkurl' => 'index.php?module=Webforms&parent=Settings&view=Edit&sourceModule=' . $this->getName(), 'linkicon' => '');
     }
     return $settingsLinks;
 }
开发者ID:noclav,项目名称:UpdatePackages,代码行数:32,代码来源:Module.php

示例11: getIconPath

 /**
  * Function to retrieve the icon path for the link icon
  * @return <String/Boolean> - returns image path if icon exits
  *                              else returns false;
  */
 public function getIconPath()
 {
     if (!$this->isIconExists()) {
         return false;
     }
     return Vtiger_Theme::getImagePath($this->getIcon());
 }
开发者ID:cannking,项目名称:vtigercrm-debug,代码行数:12,代码来源:Link.php

示例12: getImagePath

 /**
  * Function to get the Image file path
  * @return <String>
  */
 public function getImagePath()
 {
     return Vtiger_Theme::getImagePath($this->get('imagename'));
 }
开发者ID:Bergdahls,项目名称:YetiForceCRM,代码行数:8,代码来源:Image.php

示例13: getImagePath

 /**
  * Function to get the Image file path
  * @return <String>
  */
 public function getImagePath()
 {
     global $log;
     $log->debug("Entering ./models/Image.php::getImagePath");
     return Vtiger_Theme::getImagePath($this->get('imagename'));
 }
开发者ID:cin-system,项目名称:cinrepo,代码行数:10,代码来源:Image.php


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