| anchor() | ใช้คืนค่า tag a |
|---|
method:anchor ( href, title, array_attribute, protocol );
return type:string
special:static
content:ใช้คืนค่า tag a
example:$attributes = array ( "class"=>"cssAnchor", "id"=>"linkHome" ); echo html::anchor ( "control/method", "link", $attributes );
comment:ตัวแปร array_attribute ใช้กำหนด attribute โดย Key คือ attribute และ value คือค่าของ attribute ตัวแปร protocol ใช้ในการกำหนด protocol ของ link โดยมีค่า default คือ "http"