本文整理汇总了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);
}
示例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;
}
示例3: array
function _define_datamap()
{
return complex_array :: array_merge(
parent :: _define_datamap(),
array(
'url' => 'url',
'new_window' => 'new_window',
)
);
}
示例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)
));
}
示例5: array
function _define_datamap()
{
return complex_array :: array_merge(
parent :: _define_datamap(),
array(
'annotation' => 'annotation',
'image_id' => 'image_id',
'uri' => 'uri',
)
);
}
示例6:
function _define_class_properties()
{
return complex_array :: array_merge(
parent :: _define_attributes_definition(),
array('abstract_class' => true)
);
}
示例7: array
function _define_datamap()
{
return complex_array :: array_merge(
parent :: _define_datamap(),
array(
'content' => 'content',
)
);
}
示例8: array
function _define_attributes_definition()
{
return complex_array :: array_merge(
parent :: _define_attributes_definition(),
array(
'question' => array('search' => true),
'answer' => array('search' => true)
));
}
示例9: array
function _define_datamap()
{
return complex_array :: array_merge(
parent :: _define_datamap(),
array(
'object_content' => 'content',
'file_id' => 'file_id'
)
);
}
示例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),
));
}
示例11: array
function _define_attributes_definition()
{
return complex_array :: array_merge(
parent :: _define_attributes_definition(),
array(
'content' => array('search' => true, 'search_weight' => 1),
));
}
示例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));
}
示例13: array
function _define_attributes_definition()
{
return complex_array :: array_merge(
parent :: _define_attributes_definition(),
array(
'second_password' => '',
));
}
示例14: array
function _define_attributes_definition()
{
return complex_array :: array_merge(
parent :: _define_attributes_definition(),
array(
'identifier' => array('search' => true)
));
}
示例15: array
function _define_class_properties()
{
return complex_array :: array_merge(
parent :: _define_class_properties(),
array(
'abstract_class' => true,
'db_table_name' => 'empty',
)
);
}