Changes

Line 61: Line 61:     
= 删除现在的选项卡 =
 
= 删除现在的选项卡 =
进程与添加选项卡相同,放入模块文件的tabs数组中的下列语法:
+
删除选项卡的操作与添加选项卡相同,在模块文件的tabs数组中使用以下语句:
 
<source lang="php">
 
<source lang="php">
 
$this->tabs = array(
 
$this->tabs = array(
'objecttype:-tabname'
+
'objecttype:-tabnametobedeleted'
);                                                    // To remove an existing tab identified by code tabname
+
);                                                    // To remove an existing tab identified by code tabnametobedeleted
 
</source>
 
</source>
    
注意:在这种情况下不需要其他参数。
 
注意:在这种情况下不需要其他参数。
 +
 +
== 如何确定你要删除的选项卡的名称==
 +
 +
111
    
= 替换选项卡 =
 
= 替换选项卡 =
513

edits