element_children
Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.
includes/common.inc, строка 2941
- Версии
- 5 – 6
element_children($element)
Возвращает ключи структурированного массива, которые не являются атрибутами (т.е. не начинаются на '#'
).
Get keys of a structured array tree element that are not properties (i.e., do not begin with '#').
▾ 39 функции вызывают element_children()
- book_admin_edit_submit in modules/book/book.admin.inc
- Handle submission of the book administrative page form.
- color_form_alter in modules/color/color.module
- Реализация hook_form_alter().
- drupal_render in includes/common.inc
- Формирует HTML-код из структурированного массива.
- filter_form_validate in modules/filter/filter.module
- form_builder in includes/form.inc
- Walk through the structured form array, adding any required properties to each element and mapping the incoming $_POST data to the proper elements.
- forum_overview in modules/forum/forum.admin.inc
- Returns an overview list of existing forums and containers
- menu_overview_form in modules/menu/menu.admin.inc
- Form for editing an entire menu tree at once.
- menu_overview_form_submit in modules/menu/menu.admin.inc
- Submit handler for the menu overview form.
- multipage_form_set_element_visibility in developer/examples/multipage_form_example.module
- Set an element's visibility. Elements are gnerally changed to hidden elements. Visibility may be set and reset any number of times.
- profile_admin_overview_submit in modules/profile/profile.admin.inc
- Submit handler to update changed profile field weights and categories. See alsoprofile_admin_overview()
- system_theme_settings in modules/system/system.admin.inc
- Form builder; display theme configuration for entire site and individual themes.
- taxonomy_term_confirm_parents in modules/taxonomy/taxonomy.admin.inc
- Form builder for the confirmation of multiple term parents. See alsotaxonomy_form_term()
- template_preprocess_block_admin_display_form in modules/block/block.admin.inc
- Process variables for block-admin-display.tpl.php.
- template_preprocess_search_block_form in modules/search/search.module
- Обрабатывает переменные для search-block-form.tpl.php.
- template_preprocess_search_theme_form in modules/search/search.module
- Process variables for search-theme-form.tpl.php.
- template_preprocess_user_profile in modules/user/user.pages.inc
- Обрабатывает переменные для user-profile.tpl.php.
- theme_aggregator_categorize_items in modules/aggregator/aggregator.pages.inc
- Theme the page list form for assigning categories.
- theme_book_admin_table in modules/book/book.admin.inc
- Theme function for the book administration page form. See alsobook_admin_table()
- theme_color_scheme_form in modules/color/color.module
- Темизирует форму выбора расцветки темы оформления.
- theme_comment_admin_overview in modules/comment/comment.admin.inc
- Темизирует форму комментирования администратора.
- theme_dblog_filters in modules/dblog/dblog.module
- Theme dblog administration filter selector.
- theme_filter_admin_order in modules/filter/filter.admin.inc
- Темизирует форму конфигурации порядка фильтров.
- theme_menu_overview_form in modules/menu/menu.admin.inc
- Theme the menu overview form into a table.
- theme_multipage_form_example_node_form in developer/examples/multipage_form_example.module
- theme_node_admin_nodes in modules/node/node.admin.inc
- Theme node administration overview.
- theme_node_filters in modules/node/node.admin.inc
- Theme node administration filter selector.
- theme_node_search_admin in modules/node/node.module
- Theme the content ranking part of the search settings admin page.
- theme_poll_choices in modules/poll/poll.module
- Theme the admin poll form for choices.
- theme_profile_admin_overview in modules/profile/profile.admin.inc
- Theme the profile field overview into a drag and drop enabled table. See alsoprofile_admin_overview()
- theme_system_modules_uninstall in modules/system/system.admin.inc
- Темизирует таблицу отключенных на данный момент модулей.
- theme_system_themes_form in modules/system/system.admin.inc
- Theme function for the system themes form.
- theme_system_theme_select_form in modules/system/system.admin.inc
- Темизирует форму выбора темы.
- theme_taxonomy_overview_terms in modules/taxonomy/taxonomy.admin.inc
- Темизирует обзор терминов как сортируемый список.
- theme_taxonomy_overview_vocabularies in modules/taxonomy/taxonomy.admin.inc
- Темизирует обзор словарей как сортируемый список.
- theme_upload_form_current in modules/upload/upload.module
- Темизирует список прикрепленных файлов (вложений).
- theme_user_admin_account in modules/user/user.admin.inc
- Theme user administration overview.
- theme_user_admin_perm in modules/user/user.admin.inc
- Темизирует страницу управления разрешениями.
- theme_user_filters in modules/user/user.admin.inc
- Theme user administration filter selector.
- _form_validate in includes/form.inc
- Performs validation on form elements. First ensures required fields are completed, #maxlength is not exceeded, and selected options were in the list of options given to the user. Then calls user-defined validators.
Код
<?php
function element_children($element) {
return array_filter(array_keys((array) $element), 'element_child');
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии