本文整理汇总了PHP中theme::footer_button方法的典型用法代码示例。如果您正苦于以下问题:PHP theme::footer_button方法的具体用法?PHP theme::footer_button怎么用?PHP theme::footer_button使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类theme
的用法示例。
在下文中一共展示了theme::footer_button方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
theme::form_start($controller_path . '/' . $controller_action, $record->id);
theme::header_start('View Security Violations');
theme::header_end();
theme::hr(0, 12);
theme::start_form_section('Entry Date');
theme::static_text($record->created_on);
theme::end_form_section();
theme::start_form_section('type');
theme::static_text($record->type);
theme::end_form_section();
theme::start_form_section('Route');
theme::static_text($record->route);
theme::end_form_section();
theme::start_form_section('Username');
theme::static_text($record->username);
theme::end_form_section();
theme::start_form_section('User');
theme::static_text($record->user);
theme::end_form_section();
theme::start_form_section('Session');
theme::static_text($record->session);
theme::end_form_section();
theme::start_form_section('Extra');
theme::static_text($record->extra);
theme::end_form_section();
theme::hr(0, 12);
theme::footer_start();
theme::footer_button('Done');
theme::footer_end();
theme::form_end();
示例2:
<?php
theme::form_start($controller_path . '/' . $controller_action, $record->id);
theme::header_start($controller_title);
theme::header_button('cancel');
theme::header_end();
theme::hr(0, 12);
theme::hidden('sort', $record->sort);
theme::hidden('parent_id', $record->parent_id);
theme::start_form_section('Name', true, 6);
theme::text('name', $record->name);
theme::end_form_section();
theme::view_event($controller_path, 'form.footer');
theme::hr(0, 12);
theme::footer_start();
theme::footer_required();
theme::footer_button('submit');
theme::footer_end();
theme::form_end();
示例3:
<?php
theme::form_start($controller_path . '/' . $controller_action, $record->id);
theme::header_start(ucfirst($controller_action) . ' ' . $controller_title);
theme::header_end();
theme::hr(0, 12);
theme::start_form_section('Created On');
theme::text('created_on', $record->created_on, ['readonly' => true]);
theme::end_form_section();
theme::start_form_section('Form Name');
theme::text('form_name', $record->form_name, ['readonly' => true]);
theme::end_form_section();
theme::start_form_section('URL');
theme::text('url', $record->url, ['readonly' => true]);
theme::end_form_section();
theme::start_form_section('User Agent');
theme::text('user_agent', $record->user_agent, ['readonly' => true]);
theme::end_form_section();
theme::start_form_section('Ip Address');
theme::text('ip_address', $record->ip_address, ['readonly' => true]);
theme::end_form_section();
theme::start_form_section('Capture');
theme::textarea('capture', $record->capture, ['readonly' => true]);
theme::end_form_section();
theme::view_event($controller_path, 'form.footer');
theme::hr(0, 12);
theme::footer_start();
theme::footer_button('back', ['href' => $controller_path]);
theme::footer_end();
theme::form_end();