<?php
class form_widget_family extends form_widget_select
{
    ////////////////////////////////////////////////////////////////////////////
    // Construct and destruct functions.

    ////////////////////////////////////////////////////////////////////////////
    // Overload functions.

    ////////////////////////////////////////////////////////////////////////////
    // Interface functions.

    public static function render(array $option = array())
    {
        $family = array(
            '',
            'Arial, Helvetica, sans-serif',
            '\'Arial Black\', Gadget, sans-serif',
            '\'Bookman Old Style\', serif',
            '\'Comic Sans MS\', cursive',
            'Courier, monospace',
            '\'Courier New\', Courier, monospace',
            'Garamond, serif',
            'Georgia, serif',
            'Impact, Charcoal, sans-serif',
            '\'Lucida Console\', Monaco, monospace',
            '\'Lucida Sans Unicode\', \'Lucida Grande\', sans-serif',
            '\'MS Sans Serif\', Geneva, sans-serif',
            '\'MS Serif\', \'New York\', sans-serif',
            '\'Palatino Linotype\', \'Book Antiqua\', Palatino, serif',
            'Symbol, sans-serif',
            'Tahoma, Geneva, sans-serif',
            '\'Times New Roman\', Times, serif',
            '\'Trebuchet MS\', Helvetica, sans-serif',
            'Verdana, Geneva, sans-serif',
            'Webdings, sans-serif',
            'Wingdings, \'Zapf Dingbats\', sans-serif'
        );
        $option['option'] = array_combine($family, $family);
        return parent::render($option);
    }
    
    ////////////////////////////////////////////////////////////////////////////
    // Internal functions.
}
