| image() | ใช้คืนค่า tag img |
|---|
method:image ( src, array_attribute, absolute );
return type:string
special:static
content:ใช้คืนค่า tag img
example:$attributes = array ( "class"=>"cssImage" ); $src = "media/imgaes/logo.png"; echo html::image ( $src, $attributes );
comment:ตัวแปร array_attribute ใช้กำหนด attribute โดย Key คือ attribute และ value คือค่าของ attribute ตัวแปร absolute ถ้ากำหนด true จะหมายถึงอ้างอิงแบบ absolute path