本文整理汇总了PHP中Vtiger_Index_View类的典型用法代码示例。如果您正苦于以下问题:PHP Vtiger_Index_View类的具体用法?PHP Vtiger_Index_View怎么用?PHP Vtiger_Index_View使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Vtiger_Index_View类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: getViewer
/**
* Function which gets the template handler
* @global String $currentModule
* @return MailManager_Viewer
*/
public function getViewer(Vtiger_Request $request)
{
$viewer = parent::getViewer($request);
$viewer->assign('MAILBOX', $this->getMailboxModel());
$viewer->assign('QUALIFIED_MODULE', $request->get('module'));
return $viewer;
}
开发者ID:cannking,项目名称:vtigercrm-debug,代码行数:12,代码来源:Abstract.php
示例2: postProcess
function postProcess(Vtiger_Request $request)
{
$viewer = $this->getViewer($request);
$moduleName = $request->getModule();
$viewer->view('CalendarViewPostProcess.tpl', $moduleName);
parent::postProcess($request);
}
开发者ID:Bergdahls,项目名称:YetiForceCRM,代码行数:7,代码来源:Calendar.php
示例3:
function __construct()
{
parent::__construct();
//$this->exposeMethod('showActiveRecords');
$this->exposeMethod('showSettingsList');
$this->exposeMethod('editLicense');
}
开发者ID:cin-system,项目名称:vtigercrm-cin,代码行数:7,代码来源:IndexAjax.php
示例4:
function __construct()
{
global $log;
$log->debug("Entering ./views/IndexAjax.php::__construct");
parent::__construct();
$this->exposeMethod('showActiveRecords');
}
开发者ID:cin-system,项目名称:cinrepo,代码行数:7,代码来源:IndexAjax.php
示例5: getFooterScripts
/**
* Function to get the list of Script models to be included
* @param Vtiger_Request $request
* @return <Array> - List of Vtiger_JsScript_Model instances
*/
function getFooterScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getFooterScripts($request);
$jsFileNames = array('modules.Import.resources.Import');
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
开发者ID:rcrrich,项目名称:UpdatePackages,代码行数:13,代码来源:Import.php
示例6: getHeaderCss
public function getHeaderCss(Vtiger_Request $request)
{
$headerCssInstances = parent::getHeaderCss($request);
$cssFileNames = array('~libraries/fullcalendar/fullcalendar.min.css', '~libraries/fullcalendar/fullcalendarCRM.css');
$cssInstances = $this->checkAndConvertCssStyles($cssFileNames);
$headerCssInstances = array_merge($headerCssInstances, $cssInstances);
return $headerCssInstances;
}
开发者ID:awflu,项目名称:YetiForceCRM,代码行数:8,代码来源:Calendar.php
示例7: getHeaderScripts
public function getHeaderScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getHeaderScripts($request);
$jsFileNames = array('modules.Vtiger.resources.Detail', 'modules.Vtiger.resources.RelatedList');
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
开发者ID:nouphet,项目名称:vtigercrm-6.0.0-ja,代码行数:8,代码来源:Detail.php
示例8: getHeaderCss
/**
* Function to get the list of Css models to be included
* @param Vtiger_Request $request
* @return <Array> - List of Vtiger_CssScript_Model instances
*/
public function getHeaderCss(Vtiger_Request $request)
{
$parentHeaderCssScriptInstances = parent::getHeaderCss($request);
$headerCss = array('~/layouts/vlayout/modules/' . $request->getModule() . '/resources/jquery-tzCheckbox/jquery-tzCheckbox.css');
$cssScripts = $this->checkAndConvertCssStyles($headerCss);
$headerCssScriptInstances = array_merge($parentHeaderCssScriptInstances, $cssScripts);
return $headerCssScriptInstances;
}
开发者ID:googlicius,项目名称:SP,代码行数:13,代码来源:Dashboard.php
示例9: getHeaderCss
public function getHeaderCss(Vtiger_Request $request)
{
$headerCssInstances = parent::getHeaderCss($request);
$cssFileNames = array('~/libraries/fullcalendar/fullcalendar.css', '~/libraries/fullcalendar/fullcalendar-bootstrap.css', '~/libraries/jquery/colorpicker/css/colorpicker.css');
$cssInstances = $this->checkAndConvertCssStyles($cssFileNames);
$headerCssInstances = array_merge($headerCssInstances, $cssInstances);
return $headerCssInstances;
}
开发者ID:cannking,项目名称:vtigercrm-debug,代码行数:8,代码来源:Calendar.php
示例10: getHeaderCss
public function getHeaderCss(Vtiger_Request $request)
{
$parentCssInstances = parent::getHeaderCss($request);
$cssFileNames = ['~libraries/jquery/jstree/themes/proton/style.css', '~libraries/jquery/datatables/media/css/jquery.dataTables_themeroller.css', '~libraries/jquery/datatables/plugins/integration/bootstrap/3/dataTables.bootstrap.css'];
$modalInstances = $this->checkAndConvertCssStyles($cssFileNames);
$cssInstances = array_merge($parentCssInstances, $modalInstances);
return $cssInstances;
}
开发者ID:nikdejan,项目名称:YetiForceCRM,代码行数:8,代码来源:TreeRecords.php
示例11: getHeaderScripts
function getHeaderScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getHeaderScripts($request);
$moduleName = $request->getModule();
$jsFileNames = array("layouts.vlayout.modules.PDFMaker.resources.Uninstall");
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
开发者ID:cin-system,项目名称:cinrepo,代码行数:9,代码来源:Uninstall.php
示例12: getHeaderScripts
/**
* Function to get the list of Script models to be included
* @param Vtiger_Request $request
* @return <Array> - List of Vtiger_JsScript_Model instances
*/
function getHeaderScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getHeaderScripts($request);
$moduleName = $request->getModule();
$jsFileNames = array('modules.Vtiger.resources.List', "modules.{$moduleName}.resources.List", 'modules.CustomView.resources.CustomView', "modules.{$moduleName}.resources.CustomView", "modules.Emails.resources.MassEdit", "modules.Vtiger.resources.CkEditor");
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
开发者ID:wsLapshin,项目名称:charter_crm,代码行数:14,代码来源:List.php
示例13: getFooterScripts
function getFooterScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getFooterScripts($request);
$moduleName = $request->getModule();
$jsFileNames = array('modules.Vtiger.resources.List', "modules.{$moduleName}.resources.List");
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
开发者ID:JeRRimix,项目名称:YetiForceCRM,代码行数:9,代码来源:List.php
示例14:
function __construct()
{
parent::__construct();
$this->exposeMethod('showSettingsList');
$this->exposeMethod('editCustomLabel');
$this->exposeMethod('showCustomLabelValues');
$this->exposeMethod('editLicense');
$this->exposeMethod('showBarcodes');
$this->exposeMethod('PDFBreakline');
}
开发者ID:cin-system,项目名称:cinrepo,代码行数:10,代码来源:IndexAjax.php
示例15: getHeaderScripts
/**
* Function to get the list of Script models to be included
* @param Vtiger_Request $request
* @return <Array> - List of Vtiger_JsScript_Model instances
*/
function getHeaderScripts(Vtiger_Request $request)
{
global $log;
$log->debug("Entering ./views/Import.php::getHeaderScripts");
$headerScriptInstances = parent::getHeaderScripts($request);
$jsFileNames = array('modules.Import.resources.Import');
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
开发者ID:cin-system,项目名称:cinrepo,代码行数:15,代码来源:Import.php
示例16: getHeaderCss
function getHeaderCss(Vtiger_Request $request)
{
${"GLOBALS"}["ouoxbghvox"] = "moduleName";
${"GLOBALS"}["mqemgafwyd"] = "headerStyleInstances";
$vnkzsdrdt = "headerScriptInstances";
${${"GLOBALS"}["icxzgcssk"]} = parent::getHeaderCss(${${"GLOBALS"}["klrvtdauww"]});
${${"GLOBALS"}["ouoxbghvox"]} = $request->getModule();
${${"GLOBALS"}["yokdtlyeton"]} = array("~/modules/{$moduleName}/views/resources/Workflow2.css");
${${"GLOBALS"}["nreevtw"]} = $this->checkAndConvertCssStyles(${${"GLOBALS"}["yokdtlyeton"]});
${${"GLOBALS"}["mqemgafwyd"]} = array_merge(${$vnkzsdrdt}, ${${"GLOBALS"}["nreevtw"]});
return ${${"GLOBALS"}["mcsyhlexcx"]};
}
开发者ID:cin-system,项目名称:vtigercrm-cin,代码行数:12,代码来源:ImportStep3.php
示例17: preProcess
public function preProcess(Vtiger_Request $request, $display = true)
{
$config = Settings_Mail_Config_Model::getConfig('autologin');
if ($config['autologinActive'] == 'true') {
$account = OSSMail_Autologin_Model::getAutologinUsers();
if ($account) {
$rcUser = isset($_SESSION['AutoLoginUser']) && array_key_exists($_SESSION['AutoLoginUser'], $account) ? $account[$_SESSION['AutoLoginUser']] : reset($account);
require_once 'modules/OSSMail/RoundcubeLogin.class.php';
$rcl = new RoundcubeLogin(self::$mainUrl, false);
try {
if ($rcl->isLoggedIn()) {
if ($rcl->getUsername() != $rcUser['username']) {
$rcl->logout();
$rcl->login($rcUser['username'], $rcUser['password']);
}
} else {
$rcl->login($rcUser['username'], $rcUser['password']);
}
} catch (RoundcubeLoginException $ex) {
$log = vglobal('log');
$log->error('OSSMail_index_View|RoundcubeLoginException: ' . $ex->getMessage());
}
}
}
$config = OSSMail_Module_Model::getComposeParameters();
$param = OSSMail_Module_Model::getComposeUrlParam($request->get('crmModule'), $request->get('crmRecord'), $request->get('crmView'));
if ($request->get('id') != '' && $request->get('type') != '') {
$param .= '&crmid=' . (int) $request->get('id') . '&type=' . $request->get('type');
}
$this->mainUrl = $this->mainUrl . $param;
if ($config['popup'] && $request->get('popup') == 1) {
header('Location: ' . $this->mainUrl . '&_extwin=1');
exit;
}
parent::preProcess($request, true);
}
开发者ID:JeRRimix,项目名称:YetiForceCRM,代码行数:36,代码来源:compose.php
示例18: getFooterScripts
public function getFooterScripts(Vtiger_Request $request)
{
$headerScriptInstances = parent::getFooterScripts($request);
$moduleName = $request->getModule();
$jsFileNames = array('modules.Vtiger.resources.Detail', "modules.{$moduleName}.resources.Detail", 'modules.Vtiger.resources.RelatedList', "modules.{$moduleName}.resources.RelatedList", 'libraries.jquery.jquery_windowmsg', "libraries.jquery.ckeditor.ckeditor", "libraries.jquery.ckeditor.adapters.jquery", "modules.Emails.resources.MassEdit", "modules.Vtiger.resources.CkEditor", "modules.Vtiger.resources.Widgets");
$jsScriptInstances = $this->checkAndConvertJsScripts($jsFileNames);
$headerScriptInstances = array_merge($headerScriptInstances, $jsScriptInstances);
return $headerScriptInstances;
}
开发者ID:krzychab,项目名称:YetiForceCRM,代码行数:9,代码来源:Detail.php
示例19:
function __construct()
{
parent::__construct();
$this->exposeMethod('showBarcodes');
}
开发者ID:jmangarret,项目名称:vtigercrm,代码行数:5,代码来源:IndexAjax.php
示例20:
function __construct()
{
parent::__construct();
}
开发者ID:gitter-badger,项目名称:openshift-salesplatform,代码行数:4,代码来源:Edit.php
注:本文中的Vtiger_Index_View类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论