public function entry_publisher_object()
 {
     if (genesis_get_custom_field('genesis_schema_publisher_type')) {
         require_once Genesis_Simple_Schema()->plugin_dir . '/includes/views/entry-publisher-object.php';
     }
 }
 /**
  * Generate the schema types dropdown.
  *
  * @since 0.9.0
  */
 public function schema_types_dropdown($args)
 {
     $defaults = array('name' => '', 'class' => '', 'id' => '', 'selected' => '');
     $args = wp_parse_args($args, $defaults);
     $output = sprintf('<select name="%s" id="%s" class="%s">', $args['name'], $args['id'], $args['class']);
     foreach ((array) Genesis_Simple_Schema()->get_supported_schema_types() as $type) {
         $output .= sprintf('<option value="%s" %s>%s</option>', esc_html($type), selected($type, $args['selected'], 0), esc_html($type));
     }
     $output .= '</select>';
     echo $output;
 }
    /**
     * Create the objects, assign to variables as part of the main class object.
     *
     * @since 0.9.0
     */
    public function instantiate()
    {
        #$this->admin     = new Genesis_Schema_Admin;
        $this->markup = new Genesis_Schema_Markup();
        $this->metaboxes = new Genesis_Schema_Metaboxes();
    }
    /**
     * Return an array of supported schema types.
     *
     * @since 0.9.0
     */
    public function get_supported_schema_types()
    {
        return $this->supported_schema_types;
    }
}
function Genesis_Simple_Schema()
{
    static $_genesis_simple_schema = null;
    if (null == $_genesis_simple_schema) {
        $_genesis_simple_schema = new Genesis_Simple_Schema();
    }
    return $_genesis_simple_schema;
}
Genesis_Simple_Schema();