method:file_anchor ( href, title, array_attribute, protocol );
return type:string
special:static
content:ใช้คืนค่า tag a โดยจะใช้ในกรณีที่ link ไปยังไฟล์ต่างๆ เช่น pdf, doc, txt เป็นต้น
example:$attributes = array ( "class"=>"cssAnchor", "id"=>"linkFile" );
echo html::file_anchor ( "folder/filename.pdf", "link", $attributes );
comment:ตัวแปร array_attribute ใช้กำหนด attribute โดย Key คือ attribute
และ value คือค่าของ attribute
ตัวแปร protocol ใช้ในการกำหนด protocol ของ link โดยมีค่า default คือ "http"