本文整理汇总了PHP中SugarView::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP SugarView::__construct方法的具体用法?PHP SugarView::__construct怎么用?PHP SugarView::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类SugarView
的用法示例。
在下文中一共展示了SugarView::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
/**
* Constructor.
*/
public function __construct($bean = null, $view_object_map = array())
{
parent::__construct($bean, $view_object_map);
$this->options['show_header'] = false;
$this->options['show_footer'] = false;
$this->options['show_javascript'] = false;
}
示例2: __construct
/**
* Constructor.
*/
public function __construct()
{
parent::__construct();
$this->options['show_header'] = false;
$this->options['show_footer'] = false;
$this->options['show_javascript'] = false;
}
示例3: __construct
public function __construct($bean = null, $view_object_map = array())
{
parent::__construct($bean, $view_object_map);
$this->medataDataFile = $this->fileName;
if (file_exists("custom/{$this->fileName}")) {
$this->medataDataFile = "custom/{$this->fileName}";
}
}
示例4: __construct
public function __construct()
{
parent::__construct();
$this->medataDataFile = $this->fileName;
if (file_exists("custom/{$this->fileName}")) {
$this->medataDataFile = "custom/{$this->fileName}";
}
}
示例5: __construct
public function __construct()
{
parent::__construct();
if (isset($_REQUEST["sugarpdf"])) {
$this->sugarpdf = $_REQUEST["sugarpdf"];
} else {
header('Location:index.php?module=' . $_REQUEST['module'] . '&action=DetailView&record=' . $_REQUEST['record']);
}
}
示例6: __construct
/**
* Constructor
*
* @see SugarView::SugarView()
*/
public function __construct()
{
$this->options['show_title'] = true;
$this->options['show_header'] = true;
$this->options['show_footer'] = true;
$this->options['show_javascript'] = true;
$this->options['show_subpanels'] = false;
$this->options['show_search'] = false;
parent::__construct();
}
示例7: __construct
public function __construct()
{
global $app_strings;
parent::__construct();
foreach ($this->vars as $var) {
if (!isset($_REQUEST[$var])) {
sugar_die($app_strings['ERR_MISSING_REQUIRED_FIELDS'] . $var);
}
$this->{$var} = $_REQUEST[$var];
}
}
示例8: __construct
public function __construct()
{
global $mod_strings;
parent::__construct();
if (isset($_REQUEST['button']) && trim($_REQUEST['button']) == htmlentities($mod_strings['LBL_BACK'])) {
// if the request comes from the "Back" button, decrease the step count
$this->currentStep = isset($_REQUEST['current_step']) ? $_REQUEST['current_step'] - 1 : 1;
} else {
$this->currentStep = isset($_REQUEST['current_step']) ? $_REQUEST['current_step'] + 1 : 1;
}
$this->importModule = isset($_REQUEST['import_module']) ? $_REQUEST['import_module'] : '';
}
示例9: __construct
public function __construct()
{
$this->fullView = !empty($_REQUEST['full']) ? TRUE : FALSE;
if ($this->fullView) {
$this->options = array('show_title' => true, 'show_header' => true, 'show_footer' => true, 'show_javascript' => true, 'show_subpanels' => false, 'show_search' => false);
$this->templateName = 'fts_full.tpl';
} else {
$this->options = array('show_title' => false, 'show_header' => false, 'show_footer' => false, 'show_javascript' => false, 'show_subpanels' => false, 'show_search' => false);
$this->templateName = 'fts_spot.tpl';
}
parent::__construct();
}
示例10: __construct
public function __construct()
{
parent::__construct();
foreach ($this->vars as $var) {
if (!isset($_REQUEST[$var])) {
sugar_die("Required paramter {$var} not set in ViewRelFields");
}
$this->{$var} = $_REQUEST[$var];
}
$mb = new ModuleBuilder();
$this->package = empty($_REQUEST['package']) || $_REQUEST['package'] == 'studio' ? "" : $mb->getPackage($_REQUEST['package']);
}
示例11: __construct
public function __construct()
{
parent::__construct();
}
示例12: AddFontView
/**
* Constructor
*/
public function AddFontView()
{
parent::__construct();
}
示例13: __construct
/**
* @see SugarView::SugarView()
*/
public function __construct($bean = null, $view_object_map = array())
{
parent::__construct();
$this->type = $this->action;
}
示例14: ViewMain
function ViewMain()
{
$this->options['show_footer'] = false;
parent::__construct();
}
示例15: FontManager
/**
* Constructor
*/
public function FontManager()
{
parent::__construct();
}