本文整理汇总了PHP中str::email方法的典型用法代码示例。如果您正苦于以下问题:PHP str::email方法的具体用法?PHP str::email怎么用?PHP str::email使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类str
的用法示例。
在下文中一共展示了str::email方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: email
static function email($params)
{
$url = @$params['email'];
$class = @$params['class'];
$title = @$params['title'];
if (empty($url)) {
return false;
}
return str::email($url, @$params['text'], $title, $class);
}
示例2: email
static function email($params)
{
$url = @$params['email'];
if (empty($url)) {
return false;
}
return str::email($url, @$params['text']);
}
示例3: html
<div class="col-4-6 last">
<article class="text">
<h1><?php
echo html($page->title());
?>
</h1>
<?php
if ($page->text() == '') {
/* Check if content is available */
?>
<p class="delta">Coming soon...</p>
<p>At the moment we're working hard to complete and improve the docs. Thanks for your patience! In case you've got an urgent issue with Kirby please send us an email.</p>
<p><?php
echo str::email($site->email());
?>
</p>
<p>In the meantime you might want to check out our <a href="http://getkirby.com/docs">docs</a> where we already collected a whole bunch of stuff.</p>
<?php
} else {
?>
<?php
echo str_replace('(\\', '(', kirbytext($page->text()));
?>
<?php
if ($page->docs() != '' or $page->blogposts() != '' or $page->forumposts() != '' or $page->internals() != '' or $page->externals() != '') {