本文整理汇总了PHP中form_edit_site_object_action::form_edit_site_object_action方法的典型用法代码示例。如果您正苦于以下问题:PHP form_edit_site_object_action::form_edit_site_object_action方法的具体用法?PHP form_edit_site_object_action::form_edit_site_object_action怎么用?PHP form_edit_site_object_action::form_edit_site_object_action使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类form_edit_site_object_action
的用法示例。
在下文中一共展示了form_edit_site_object_action::form_edit_site_object_action方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
function edit_poll_answer_action()
{
$definition = array(
'site_object' => 'poll_answer',
);
parent :: form_edit_site_object_action('edit_poll_answer', $definition);
}
示例2: array
function edit_paragraphs_list_page_action()
{
$definition = array(
'site_object' => 'paragraphs_list_page',
);
parent :: form_edit_site_object_action('paragraphs_list_page_form', $definition);
}
示例3: array
function edit_catalog_folder_action()
{
$definition = array(
'site_object' => 'catalog_folder',
);
parent :: form_edit_site_object_action('edit_catalog_folder', $definition);
}
示例4: array
function edit_photogallery_folder_action()
{
$definition = array(
'site_object' => 'photogallery_folder',
);
parent :: form_edit_site_object_action('edit_photogallery_folder', $definition);
}
示例5: array
function edit_navigation_item_action()
{
$definition = array(
'site_object' => 'navigation_item',
'datamap' => array(
'url' => 'url',
)
);
parent :: form_edit_site_object_action('edit_navigation_item', $definition);
}
示例6: array
function edit_file_action()
{
$definition = array(
'site_object' => 'file_object',
'datamap' => array(
'description' => 'description',
)
);
parent :: form_edit_site_object_action('edit_file', $definition);
}
示例7: array
function edit_message_action()
{
$definition = array(
'site_object' => 'message',
'datamap' => array(
'content' => 'content',
)
);
parent :: form_edit_site_object_action('edit_message', $definition);
}
示例8: array
function edit_announce_folder_action()
{
$definition = array(
'site_object' => 'announce_folder',
'datamap' => array(
'title' => 'title',
)
);
parent :: form_edit_site_object_action('edit_announce_folder', $definition);
}
示例9: array
function edit_informer_action()
{
$definition = array(
'site_object' => 'informer_object',
'datamap' => array(
'code' => 'code',
)
);
parent :: form_edit_site_object_action('informer_form', $definition);
}
示例10: array
function edit_ad_block_object_action()
{
$definition = array(
'site_object' => 'ad_block_object',
'datamap' => array(
'image_id' => 'image_id',
)
);
parent :: form_edit_site_object_action('ad_block_form', $definition);
}
示例11: array
function edit_photo_action()
{
$definition = array(
'site_object' => 'photogallery_object',
'datamap' => array(
'annotation' => 'annotation',
'image_id' => 'image_id',
)
);
parent :: form_edit_site_object_action('photo_form', $definition);
}
示例12: array
function edit_pricelist_object_action()
{
$definition = array(
'site_object' => 'pricelist_object',
'datamap' => array(
'object_content' => 'content',
'file_id' => 'file_id'
)
);
parent :: form_edit_site_object_action('pricelist_object_form', $definition);
}
示例13: array
function edit_user_action($name = 'edit_user', $merge_definition=array())
{
$definition = array(
'site_object' => 'user_object',
'datamap' => array(
'name' => 'name',
'lastname' => 'lastname',
'email' => 'email',
)
);
parent :: form_edit_site_object_action($name, complex_array :: array_merge($definition, $merge_definition));
}
示例14: array
function edit_news_action()
{
$definition = array(
'site_object' => 'news_object',
'datamap' => array(
'annotation' => 'annotation',
'news_content' => 'content',
'news_date' => 'news_date',
)
);
parent :: form_edit_site_object_action('news_form', $definition);
}
示例15: array
function edit_variations_action()
{
$definition = array('site_object' => 'image_object', 'datamap' => array('_FILES_' => 'files_data'));
$ini =& get_ini('image_variations.ini');
$image_variations = $ini->get_named_array();
foreach ($image_variations as $variation => $variation_data) {
$definition['datamap']['upload_' . $variation . '_max_size'] = 'upload_' . $variation . '_max_size';
$definition['datamap']['generate_' . $variation . '_max_size'] = 'generate_' . $variation . '_max_size';
$definition['datamap'][$variation . '_action'] = $variation . '_action';
$definition['datamap'][$variation . '_base_variation'] = $variation . '_base_variation';
}
parent::form_edit_site_object_action('edit_variations', $definition);
}