当前位置: 首页>>代码示例>>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;未经允许,请勿转载。