本文整理汇总了PHP中module::saveParams方法的典型用法代码示例。如果您正苦于以下问题:PHP module::saveParams方法的具体用法?PHP module::saveParams怎么用?PHP module::saveParams使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类module
的用法示例。
在下文中一共展示了module::saveParams方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: saveParams
/**
* saveParams
*
* Saving module parameters
*
* @access public
*/
function saveParams() {
$p=array();
if (IsSet($this->id)) {
$p["id"]=$this->id;
}
if (IsSet($this->view_mode)) {
$p["view_mode"]=$this->view_mode;
}
if (IsSet($this->edit_mode)) {
$p["edit_mode"]=$this->edit_mode;
}
if (IsSet($this->tab)) {
$p["tab"]=$this->tab;
}
if (IsSet($this->mode)) {
$p["mode"]=$this->mode;
}
if (IsSet($this->collection_id)) {
$p["collection_id"]=$this->collection_id;
}
if (IsSet($this->folder)) {
$p["folder"]=$this->folder;
}
if (IsSet($this->showplayer)) {
$p["showplayer"]=$this->showplayer;
}
return parent::saveParams($p);
}
示例2: saveParams
function saveParams($data = 1)
{
$data = array();
$data["action"] = $this->action;
$data["print"] = $this->print;
return parent::saveParams($data);
}
示例3: saveParams
function saveParams()
{
$p = array();
$p["action"] = $this->action;
$p["print"] = $this->print;
return parent::saveParams($p);
}
示例4: saveParams
function saveParams($data = 1)
{
$p = array();
$p["action"] = $this->action;
$p['doc_name'] = $this->doc_name;
if ($this->ajax) {
$p['ajax'] = $this->ajax;
}
if ($this->popup) {
$p['popup'] = $this->popup;
}
return parent::saveParams($p);
}
示例5: saveParams
/**
* saveParams
*
* Saving module parameters
*
* @access public
*/
function saveParams() {
$p=array();
if (IsSet($this->id)) {
$p["id"]=$this->id;
}
if (IsSet($this->view_mode)) {
$p["view_mode"]=$this->view_mode;
}
if (IsSet($this->edit_mode)) {
$p["edit_mode"]=$this->edit_mode;
}
if (IsSet($this->tab)) {
$p["tab"]=$this->tab;
}
return parent::saveParams($p);
}
示例6: saveParams
/**
* saveParams
*
* Saving module parameters
*
* @access public
*/
function saveParams($data = 1)
{
$data = array();
if (isset($this->id)) {
$data["id"] = $this->id;
}
if (isset($this->view_mode)) {
$data["view_mode"] = $this->view_mode;
}
if (isset($this->edit_mode)) {
$data["edit_mode"] = $this->edit_mode;
}
if (isset($this->tab)) {
$data["tab"] = $this->tab;
}
return parent::saveParams($data);
}
示例7: saveParams
/**
* saveParams
*
* Saving module parameters
*
* @access public
*/
function saveParams($data = 0)
{
$p = array();
if (isset($this->id)) {
$p["id"] = $this->id;
}
if (isset($this->view_mode)) {
$p["view_mode"] = $this->view_mode;
}
if (isset($this->edit_mode)) {
$p["edit_mode"] = $this->edit_mode;
}
if (isset($this->data_source)) {
$p["data_source"] = $this->data_source;
}
if (isset($this->tab)) {
$p["tab"] = $this->tab;
}
return parent::saveParams($p);
}
示例8: saveParams
function saveParams($data = 1)
{
// saving current module data and data of all parent modules
$p = array();
return parent::saveParams($p);
}