本文整理汇总了PHP中form_action类的典型用法代码示例。如果您正苦于以下问题:PHP form_action类的具体用法?PHP form_action怎么用?PHP form_action使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了form_action类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: set_phpbb_rank_action
function set_phpbb_rank_action($name = 'set_phpbb_rank', $merge_definition=array())
{
$definition = array(
'site_object' => 'user_object'
);
parent :: form_action($name, complex_array :: array_merge($definition, $merge_definition));
}
示例2: form_site_object_action
function form_site_object_action($name = '', $merge_definition = array())
{
$this->site_object_class_name = $this->_define_site_object_class_name();
$this->object =& $this->get_site_object();
$this->datamap = $this->_define_datamap();
$this->indexer =& $this->_get_site_object_indexer();
parent::form_action($name);
}
示例3: update_param_common_action
function update_param_common_action()
{
parent :: form_action();
$this->params_type = $this->_define_params_type();
}
示例4: generate_password_action
function generate_password_action($name = 'generate_password')
{
parent :: form_action($name);
}
示例5: set_group_access
function set_group_access($name = 'set_group_access')
{
parent::form_action($name);
}
示例6: send_feedback_action
function send_feedback_action($name = 'feedback_form', $merge_definition = array())
{
parent::form_action($name);
}
示例7: array
function _init_validator()
{
parent::_init_validator();
$this->validator->add_rule($v1 = array(LIMB_DIR . '/core/lib/validators/rules/required_rule', 'name'));
$this->validator->add_rule($v2 = array(LIMB_DIR . '/core/lib/validators/rules/required_rule', 'email'));
$this->validator->add_rule($v3 = array(LIMB_DIR . '/core/lib/validators/rules/email_rule', 'email'));
}
示例8:
function _init_validator()
{
parent::_init_validator();
$this->validator->add_rule(new required_rule('identifier'));
$this->validator->add_rule(new required_rule('title'));
$this->validator->add_rule(new required_rule('group_id'));
}
示例9:
function _init_validator()
{
parent::_init_validator();
$this->validator->add_rule(new required_rule('name'));
$this->validator->add_rule(new required_rule('email'));
$this->validator->add_rule(new email_rule('email'));
}
示例10: perform
function perform(&$request, &$response)
{
$tree =& tree::instance();
$tree->initialize_expanded_parents();
$this->_set_template_tree();
parent::perform($request, $response);
}
示例11:
function _transfer_dataspace(&$request)
{
parent :: _transfer_dataspace($request);
if($object_id = $this->dataspace->get('object_id'))
$request->set_attribute('object_id', $object_id);
}
示例12:
function _valid_perform()
{
$_REQUEST['stats_start_date'] = $this->dataspace->get('stats_start_date');
$_REQUEST['stats_finish_date'] = $this->dataspace->get('stats_finish_date');
return parent :: _valid_perform();
}
示例13: array
function _init_validator()
{
parent::_init_validator();
$this->validator->add_rule($v1 = array(LIMB_DIR . 'core/lib/validators/rules/required_rule', 'subject'));
$this->validator->add_rule($v2 = array(LIMB_DIR . 'core/lib/validators/rules/required_rule', 'sender_email'));
$this->validator->add_rule($v3 = array(LIMB_DIR . 'core/lib/validators/rules/email_rule', 'sender_email'));
$this->validator->add_rule($v4 = array(LIMB_DIR . 'core/lib/validators/rules/required_rule', 'body'));
}
示例14:
function _init_dataspace(&$request)
{
parent :: _init_dataspace($request);
$this->_set_template_tree();
$this->_fill_policy();
}
示例15:
function _first_time_perform(&$request, &$response)
{
if (!($ids = $this->dataspace->get('ids'))) {
$response->write(close_popup_response($request));
return;
}
parent::_first_time_perform($request, $response);
}