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