| get() | ใช้คืนค่า รายละเอียด ของรูปภาพ ตาม type ที่กำหนด |
|---|
method:get ( type );
return type:string
content:ใช้คืนค่า รายละเอียด ของรูปภาพ ตาม type ที่กำหนด
example:$img = new Image ( "media/images/bamboo.png" ); echo $img->get ( "width" ); echo $img->get ( "height" );
comment:ตัวแปร type มีค่าที่เป็นไปได้ คือ file, width, height, type, ext, mime