LaravelBook\Laravel4Powerpack\HTML::mailto PHP Метод

mailto() публичный Метод

The E-Mail address will be obfuscated to protect it from spam bots.
public mailto ( string $email, string $title = null, array $attributes = [] ) : string
$email string
$title string
$attributes array
Результат string
    public function mailto($email, $title = null, $attributes = array())
    {
        $email = $this->email($email);
        if (is_null($title)) {
            $title = $email;
        }
        $email = 'mailto:' . $email;
        return '<a href="' . $email . '"' . $this->attributes($attributes) . '>' . $this->entities($title) . '</a>';
    }