{
        self::form();
        self::get();
        echo '<form method="post">' . WP_Forms_API::render_form(self::$form, self::$values) . '</form>';
    }
    /**
     * Generates the settings form markup
     *
     * @since 1.0
     * @access protected
     */
    protected static function form()
    {
        self::$form = array('wp_dfp_nonce' => array('#type' => 'markup', '#markup' => wp_nonce_field(self::NONCE_ACTION, self::NONCE_NAME, true, false)), 'network_code' => array('#type' => 'text', '#name' => self::input_name('network_code'), '#label' => __('Network Code', 'wp-dfp'), '#description' => __('Your network code as found in your DFP account.', 'wp-dfp')), 'slot_prefix' => array('#type' => 'text', '#name' => self::input_name('slot_prefix'), '#label' => __('Slot Prefix', 'wp-dfp'), '#description' => __('If you would like, you can specifiy a prefix that will be added to every slot size', 'wp-dfp')), 'submit' => array('#type' => 'markup', '#markup' => get_submit_button()));
    }
    /**
     * Gets a prefixed input name
     *
     * @since 1.0
     * @access protected
     *
     * @param  string $name An un-prefixed input name.
     * @return string The prefixed input name.
     */
    protected static function input_name($name)
    {
        return self::OPTION_NAME . '[' . $name . ']';
    }
}
WP_DFP_Settings::init();