COM createLink

提供: GeeklogJpWiki

lib-common.php>COM createLink

説明

string   COM_createLink  (string $content, string $url, [array $attr = array()]) 

HTMLのlinkを作成

パラメータ

$content
the object to be linked (text, image etc)
$url
the URL the link will point to
$attr
an array of optional attributes for the link for example array('title' => 'whatever');

返り値

the HTML link

使用例

個人用ツール