public static function text($name, $value = '', $attributes = array()) { return static::input('text', $name, $value, $attributes); }
function meta_acpt_slide_options() { $form = new form('slide', null); $form->image('image', array('label' => 'Image URL', 'help' => 'Upload an Image that is 940px by 350px for best results', 'button' => 'Add Your Slide')); $form->text('headline', array('label' => 'Headline')); $form->textarea('description', array('label' => 'Description')); $form->select('showText', array('Yes', 'No'), array('label' => 'Show Headline and Description')); }