當前位置: 首頁>>代碼示例>>PHP>>正文


PHP form_action類代碼示例

本文整理匯總了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));
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:8,代碼來源:set_phpbb_rank_action.class.php

示例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);
 }
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:8,代碼來源:form_site_object_action.class.php

示例3: update_param_common_action

	function update_param_common_action()
	{
	  parent :: form_action();
    
    $this->params_type = $this->_define_params_type();
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:6,代碼來源:update_param_common_action.class.php

示例4: generate_password_action

	function generate_password_action($name = 'generate_password')
	{
		parent :: form_action($name);
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:4,代碼來源:generate_password_action.class.php

示例5: set_group_access

 function set_group_access($name = 'set_group_access')
 {
     parent::form_action($name);
 }
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:4,代碼來源:set_group_access.class.php

示例6: send_feedback_action

 function send_feedback_action($name = 'feedback_form', $merge_definition = array())
 {
     parent::form_action($name);
 }
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:4,代碼來源:send_feedback_action.class.php

示例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'));
 }
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:7,代碼來源:checkout_cart_order_action.class.php

示例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'));
 }
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:7,代碼來源:edit_links_group_action.class.php

示例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'));
 }
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:7,代碼來源:checkout_cart_order_action.class.php

示例10: perform

 function perform(&$request, &$response)
 {
     $tree =& tree::instance();
     $tree->initialize_expanded_parents();
     $this->_set_template_tree();
     parent::perform($request, $response);
 }
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:7,代碼來源:set_group_objects_access.class.php

示例11:

  function _transfer_dataspace(&$request)
  {
    parent :: _transfer_dataspace($request);
    if($object_id = $this->dataspace->get('object_id'))
      $request->set_attribute('object_id', $object_id);

  }
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:7,代碼來源:display_detail_info_action.class.php

示例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();
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:7,代碼來源:stats_ips_report_action.class.php

示例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'));
 }
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:8,代碼來源:send_feedback_action.class.php

示例14:

  function _init_dataspace(&$request)
  {
    parent :: _init_dataspace($request);

    $this->_set_template_tree();

    $this->_fill_policy();
  }
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:8,代碼來源:set_group_objects_access.class.php

示例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);
 }
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:8,代碼來源:multi_move_action.class.php


注:本文中的form_action類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。