本文整理汇总了PHP中module_security::render_page_finished方法的典型用法代码示例。如果您正苦于以下问题:PHP module_security::render_page_finished方法的具体用法?PHP module_security::render_page_finished怎么用?PHP module_security::render_page_finished使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类module_security
的用法示例。
在下文中一共展示了module_security::render_page_finished方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: unset
unset($fieldset_data);
}
$form_actions = array('class' => 'action_bar action_bar_left', 'elements' => array(array('type' => 'save_button', 'name' => 'butt_save', 'onclick' => "\$('#form_redirect').val('" . module_job::link_open(false) . "');", 'value' => _l('Save and Return')), array('type' => 'save_button', 'name' => 'butt_save', 'value' => _l('Save Job')), array('ignore' => !((int) $job_id && module_job::can_i('delete', 'Jobs')), 'type' => 'delete_button', 'name' => 'butt_del', 'value' => _l('Delete')), array('type' => 'button', 'name' => 'cancel', 'value' => _l('Cancel'), 'class' => 'submit_button', 'onclick' => "window.location.href='" . module_job::link_open(false) . "';")));
echo module_form::generate_form_actions($form_actions);
?>
</form>
<?php
if ($do_perm_finish_check) {
// we call our permission check
// render finish method here instead of in index.php
// this allows job task edit permissions without job edit permissions.
// HOPE THIS WORKS! :)
module_security::render_page_finished();
}
hook_handle_callback('layout_column_half', 2, '65');
?>
<?php
if (module_config::c('job_ajax_tasks', 1)) {
?>
<iframe name="job_task_ajax_submit" id="job_task_ajax_submit" src="about:blank" style="display:none; width:0; height:0;" frameborder="0"></iframe>
<?php
}
?>