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


PHP complex_array::array_merge方法代碼示例

本文整理匯總了PHP中complex_array::array_merge方法的典型用法代碼示例。如果您正苦於以下問題:PHP complex_array::array_merge方法的具體用法?PHP complex_array::array_merge怎麽用?PHP complex_array::array_merge使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在complex_array的用法示例。


在下文中一共展示了complex_array::array_merge方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: perform

	function perform()
	{
		$object_data = fetch_mapped_by_url();
		
		$parent_data = fetch_one_by_node_id($object_data['parent_node_id']);
		$path = $parent_data['path'];
		
		$params = complex_array :: array_merge($_GET, $_POST);

		$sep = '';
		$query = '';
		
		$flat_params = array();
		complex_array :: to_flat_array($params, $flat_params);
		
		foreach ($flat_params as $key => $value)
		{
			$query .= $sep . $key . '=' . urlencode($value);
			$sep = '&';
		} 
		if (!empty($query))
			$path .= '?' . $query;
		
		return new redirect_response(RESPONSE_STATUS_SUCCESS, $path);
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:25,代碼來源:display_paragraph_action.class.php

示例2: array

 function _do_get_shipping_options($shipping_configuration)
 {        
   $this->_clean_cookie();
   
   $this->_browse_to_home_page();
   
   $express_html = $this->_get_express_shipping_options_html($shipping_configuration);
     
   $ground_html = $this->_get_ground_shipping_options_html($shipping_configuration);
   
   if($express_html === false)
     $express_options = array();
   else
     $express_options = $this->_parse_html_options($express_html);
         
   if($ground_html === false)
     $ground_options = array();
   else
   {
     $ground_options = $this->_parse_html_options($ground_html);
     
     foreach($ground_options as $key => $value)
     {
       $ground_options[$key]['ground'] = true;
     }
   }
       
   $options = complex_array :: array_merge($express_options, $ground_options);
   
   if(empty($options))
     return false;
   
   return $options;
 }
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:34,代碼來源:fedex_shipping_locator.class.php

示例3: array

  function _define_datamap()
	{
	  return complex_array :: array_merge(
	      parent :: _define_datamap(),
	      array(
  				'url' => 'url',
  				'new_window' => 'new_window',
	      )
	  );     
	}  
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:10,代碼來源:edit_navigation_item_action.class.php

示例4: array

 function _define_attributes_definition()
 {
   return complex_array :: array_merge(
       parent :: _define_attributes_definition(),
       array(
       'content' => array('search' => true),
       'annotation' => array('search' => true),
       'identifier' => array('search' => false)
       ));
 }
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:10,代碼來源:pictured_news_object.class.php

示例5: array

 function _define_datamap()
 {
   return complex_array :: array_merge(
       parent :: _define_datamap(),
       array(
         'annotation' => 'annotation',
         'image_id' => 'image_id',
         'uri' => 'uri',
       )
   );
 }
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:11,代碼來源:edit_useful_link_action.class.php

示例6:

	function _define_class_properties()
	{
		return complex_array :: array_merge(
					parent :: _define_attributes_definition(),
					array('abstract_class' => true)
				);
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:7,代碼來源:period_object.class.php

示例7: array

  function _define_datamap()
	{
	  return complex_array :: array_merge(
	      parent :: _define_datamap(),
	      array(
  				'content' => 'content',
	      )
	  );     
	}   
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:9,代碼來源:edit_feedback_action.class.php

示例8: array

	function _define_attributes_definition()
	{
		return complex_array :: array_merge(
				parent :: _define_attributes_definition(),
				array(
				'question' => array('search' => true),
				'answer' => array('search' => true)
				));
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:9,代碼來源:faq_object.class.php

示例9: array

 function _define_datamap()
 {
   return complex_array :: array_merge(
       parent :: _define_datamap(),
       array(
         'object_content' => 'content',
         'file_id' => 'file_id'
       )
   );
 }
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:10,代碼來源:create_pricelist_object_action.class.php

示例10: array

	function _define_attributes_definition()
	{
		return complex_array :: array_merge(
				parent :: _define_attributes_definition(),
				array(
				'title' => '',
				'name' => array('type' => 'numeric'),
				'search' => array('search' => true),
				));		
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:10,代碼來源:site_object_auto_identifier.test.php

示例11: array

 function _define_attributes_definition()
 {
   return complex_array :: array_merge(
       parent :: _define_attributes_definition(),
       array(
       'content' => array('search' => true, 'search_weight' => 1),
       ));
 }
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:8,代碼來源:document.class.php

示例12: array

	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

示例13: array

 function _define_attributes_definition()
 {
   return complex_array :: array_merge(
       parent :: _define_attributes_definition(),
       array(
       'second_password' => '',
       ));
 }
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:8,代碼來源:user_object.class.php

示例14: array

	function _define_attributes_definition()
	{
		return complex_array :: array_merge(
				parent :: _define_attributes_definition(),
				array(
				'identifier' => array('search' => true)
				));
	}
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:8,代碼來源:poll_answer.class.php

示例15: array

 function _define_class_properties()
 {
   return complex_array :: array_merge(
         parent :: _define_class_properties(),
         array(
           'abstract_class' => true,
           'db_table_name' => 'empty',
         )
   );
 }
開發者ID:BackupTheBerlios,項目名稱:limb-svn,代碼行數:10,代碼來源:period_object.class.php


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