Direktori : /home/redrockmedical/public_html/wp-includes/
Upload File :
Current File : /home/redrockmedical/public_html/wp-includes/class-walker-page-dropdown.php

<?php
/**
 * Post API: Walker_PageDropdown class
 *
 * @package WordPress
 * @subpackage Post
 * @since 4.4.0
 */

/**
 * Core class used to create an HTML drop-down list of pages.
 *
 * @since 2.1.0
 *
 * @see Walker
 */
class Walker_PageDropdown extends Walker {

	/**
	 * What the class handles.
	 *
	 * @since 2.1.0
	 * @var string
	 *
	 * @see Walker::$tree_type
	 */
	public $tree_type = 'page';

	/**
	 * Database fields to use.
	 *
	 * @since 2.1.0
	 * @var array
	 *
	 * @see Walker::$db_fields
	 * @todo Decouple this
	 */
	public $db_fields = array( 'parent' => 'post_parent', 'id' => 'ID' );

	/**
	 * Starts the element output.
	 *
	 * @since 2.1.0
	 *
	 * @see Walker::start_el()
	 *
	 * @param string  $output Used to append additional content. Passed by reference.
	 * @param WP_Post $page   Page data object.
	 * @param int     $depth  Optional. Depth of page in reference to parent pages. Used for padding.
	 *                        Default 0.
	 * @param array   $args   Optional. Uses 'selected' argument for selected page to set selected HTML
	 *                        attribute for option element. Uses 'value_field' argument to fill "value"
	 *                        attribute. See wp_dropdown_pages(). Default empty array.
	 * @param int     $id     Optional. ID of the current page. Default 0 (unused).
	 */
	public function start_el( &$output, $page, $depth = 0, $args = array(), $id = 0 ) {
		$pad = str_repeat('&nbsp;', $depth * 3);

		if ( ! isset( $args['value_field'] ) || ! isset( $page->{$args['value_field']} ) ) {
			$args['value_field'] = 'ID';
		}

		$output .= "\t<option class=\"level-$depth\" value=\"" . esc_attr( $page->{$args['value_field']} ) . "\"";
		if ( $page->ID == $args['selected'] )
			$output .= ' selected="selected"';
		$output .= '>';

		$title = $page->post_title;
		if ( '' === $title ) {
			/* translators: %d: ID of a post */
			$title = sprintf( __( '#%d (no title)' ), $page->ID );
		}

		/**
		 * Filters the page title when creating an HTML drop-down list of pages.
		 *
		 * @since 3.1.0
		 *
		 * @param string $title Page title.
		 * @param object $page  Page data object.
		 */
		$title = apply_filters( 'list_pages', $title, $page );

		$output .= $pad . esc_html( $title );
		$output .= "</option>\n";
	}
}
Las Vegas Doctors - OB/GYN - Family Practice | Red Rock Medical Group Las Vegas Doctors - OB/GYN - Family Practice | Red Rock Medical Group
Dropdown button for navigation mobile view
(702) 877-9514

5701 W. Charleston Blvd, #100
Las Vegas, Nevada 89146

Thank you for Visiting

Red Rock Medical Group – Eldorado Medical Center

The Sleep Center of Nevada

          Red Rock Medical Group                     &                       Eldorado Medical Center

5701 W. Charleston Blvd. Suite 100                                        1905 Civic Center Drive

                   Las Vegas, NV 89146                                               North Las Vegas, NV 89030

            (702) 877-9514                                                          (702) 649-3736

 

We welcome you to our Las Vegas and North Las Vegas medical center locations. You can receive care for the entire family as we offer a range of services to help you get and stay healthy. Come see us for family practice services, pediatric medical care, sleep center services, OB/GYN, diabetes care, and much more.

Explore our list of medical services and discover how we can provide you with the care you want for you and your family. Please call (702) 877-9514 to learn more and to schedule an appointment.

We offer a wide range of services to keep you healthy and breathing easy. We may have the service for you.

View More

Planning a visit but not sure of what forms to fill out? Visit our forms page and fill out the forms as needed.

View More

If you're interested in publications we recommend. Visit our WebMD section for the latest articles.

View More

It's easy to reach us by calling or emailing. Visit the contact us page for details or to use our online form.

View More

We provide numerous services for you to consider.

Our services include but are not limited to :

  • Allergy Testing
  • Arterial Blood Gas Testing
  • EEG
  • EKG
  • EMG/NCS
  • ENG
  • Full Service Laboratory
  • I.N.S. Physicals
  • Nuclear Medicine Diagnostics
  • OB/GYN
  • Pulmonary Function Testing
  • Stress Test
  • Ultrasound/Echocardiogram
  • X-Ray
Translate »