BluePrint-Q
  • Namespace
  • Class

Namespaces

  • bpq
  • ski

Classes

  • bootstrap
  • convert
  • cz_checkbox_ctl
  • cz_color_palette_ctl
  • cz_date_picker_ctl
  • cz_detail_ctl
  • cz_divider_1_ctl
  • cz_divider_2_ctl
  • cz_drop_categories_ctl
  • cz_drop_ctl
  • cz_drop_image_sizes_ctl
  • cz_drop_menu_items_ctl
  • cz_drop_menus_ctl
  • cz_drop_pages_ctl
  • cz_drop_post_types_ctl
  • cz_drop_posts_ctl
  • cz_drop_tags_ctl
  • cz_drop_taxonomies_ctl
  • cz_drop_terms_ctl
  • cz_drop_users_ctl
  • cz_dummy_ctl
  • cz_media_library_ctl
  • cz_number_bar_ctl
  • cz_radio_image_align_x_ctl
  • cz_radio_image_align_y_ctl
  • cz_radio_image_alignment_ctl
  • cz_radio_image_ctl
  • cz_radio_image_sidebar_layout_ctl
  • cz_radio_image_site_span_layout_ctl
  • cz_radio_text_ctl
  • cz_text_area_ctl
  • cz_textbox_ctl
  • db
  • db_recordset
  • drop
  • mail
  • math
  • mb_checkbox_ctl
  • mb_ctl
  • mb_date_picker_ctl
  • mb_detail_ctl
  • mb_divider_ctl
  • mb_drop_ctl
  • mb_media_library_ctl
  • mb_number_bar_ctl
  • mb_radio_image_ctl
  • mb_radio_image_sidebar_layout_ctl
  • mb_radio_image_site_span_layout_ctl
  • mb_radio_text_ctl
  • mb_repeater_ctl
  • mb_text_area_ctl
  • mb_text_ctl
  • mb_text_notice_ctl
  • mb_textbox_ctl
  • media
  • metabox
  • path
  • post
  • question
  • sanitize
  • string
  • textbox

Traits

  • cz_supplement

Functions

  • customize_register_section
  • cz_enqueue
  • init
  • metabox_sample

Class drop

This class is responsible for offering various interfaces for drawing dropdown 'select' HTML elements.

Namespace: ski
Located at packages/ski.web/controls/ski.control.drop.php

Methods summary

public
# __construct( array $key_value_pairs, array $attrs = null )

Prepares a new dropdown for later display..

Prepares a new dropdown for later display..

Parameters

$key_value_pairs
array
$key_value_pairs Associative array - the key is the display and the value is the, well, value; looks something like this: array ( 'display1' => 'value1', 'display2' => 'value2' )
$attrs
array
$attrs Associative array - the key is the attribute name and the value is the value of that attribute; for example: array ( 'class' => 'my-special-class', 'name' => 'my-element-name' )
public
# display( array $attr_overrides = null, mixed $selected = null, boolean $echo = true )

Displays this dropdown..

Displays this dropdown..

Parameters

$attr_overrides
array
$attr_overrides Associative array - the key is the attribute name and the value is the value of that attribute; note that the keys in this array will overwrite the keys in the array that was setup at construction..
$selected
mixed
$selected Optional value to indicate which item is selected
$echo
boolean
$echo Set to 'true' to echo the markup or 'false' to only return it

Magic methods summary

BluePrint-Q API documentation generated by ApiGen 2.8.0