TitanFrameworkOption::echoOptionHeaderBare PHP Méthode

echoOptionHeaderBare() protected méthode

protected echoOptionHeaderBare ( )
    protected function echoOptionHeaderBare()
    {
        if (!$this->echo_wrapper) {
            if ($this->getHidden()) {
                echo '<div style="display: none;">';
            }
            return;
        }
        // Allow overriding for custom styling
        $useCustom = false;
        $useCustom = apply_filters('tf_use_custom_option_header', $useCustom);
        $useCustom = apply_filters('tf_use_custom_option_header_' . $this->getOptionNamespace(), $useCustom);
        if ($useCustom) {
            do_action('tf_custom_option_header', $this);
            do_action('tf_custom_option_header_' . $this->getOptionNamespace(), $this);
            return;
        }
        $id = $this->getID();
        $name = $this->getName();
        $evenOdd = self::$rowIndex++ % 2 == 0 ? 'odd' : 'even';
        $style = $this->getHidden() == true ? 'style="display: none"' : '';
        ?>
		<tr valign="top" class="row-<?php 
        echo self::$rowIndex;
        ?>
 <?php 
        echo $evenOdd;
        ?>
" <?php 
        echo $style;
        ?>
>
			<td class="second tf-<?php 
        echo $this->settings['type'];
        ?>
">
		<?php 
    }