public function tel($name, $value = null, $attributes = array()) { $attributes['class'] = isset($attributes['class']) ? self::FORM_CONTROL . ' ' . $attributes['class'] : self::FORM_CONTROL; return parent::input('tel', $name, $value, $attributes); }
/** * Creates a tel element * * @param string $name The name of the element * @param null $value * @param array $attributes * @return string * @static */ public static function tel($name, $value = null, $attributes = array()) { return \Bootstrapper\Form::tel($name, $value, $attributes); }