本文整理汇总了PHP中event_change_pageby函数的典型用法代码示例。如果您正苦于以下问题:PHP event_change_pageby函数的具体用法?PHP event_change_pageby怎么用?PHP event_change_pageby使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了event_change_pageby函数的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: admin_change_pageby
/**
* Updates pageby value.
*/
function admin_change_pageby()
{
event_change_pageby('author');
author_list();
}
示例2: log_change_pageby
function log_change_pageby()
{
event_change_pageby('log');
log_list();
}
示例3: link_change_pageby
function link_change_pageby()
{
event_change_pageby('link');
link_edit();
}
示例4: section_change_pageby
function section_change_pageby()
{
event_change_pageby('section');
sec_section_list();
}
示例5: discuss_change_pageby
function discuss_change_pageby()
{
event_change_pageby('comment');
discuss_list();
}
示例6: file_change_pageby
function file_change_pageby()
{
event_change_pageby('file');
file_list();
}
示例7: list_change_pageby
function list_change_pageby()
{
event_change_pageby('article');
list_list();
}
示例8: change_pageby_post
function change_pageby_post()
{
event_change_pageby($this->event);
$this->_set_view($this->default_step);
}
示例9: change_pageby
function change_pageby()
{
event_change_pageby($this->event);
$this->_set_view('list');
}
示例10: image_change_pageby
function image_change_pageby()
{
event_change_pageby('image');
image_list();
}
示例11: preload
function preload()
{
$rebuild = gps('rebuild');
$step = gps('step');
if ($step) {
switch ($step) {
case 'clone_all_from':
$this->clone_all_from();
break;
case 'clone':
$this->clone_for_translation();
break;
case 'l10n_change_pageby':
event_change_pageby('article');
break;
case 'delete_article':
$this->delete_article();
break;
case 'delete_rendition':
$rebuild = $this->delete_rendition();
break;
}
}
if ($rebuild) {
$results = MLPArticles::check_groups();
if (!empty($results)) {
$desc = '';
foreach ($results as $record) {
$desc .= $record[3] . br . n;
}
$desc .= gTxt('l10n-table_rebuilt') . n;
$this->parent->message = $desc;
} else {
$this->parent->message = gTxt('l10n-article_table_ok');
}
}
}