| find_file() | ใช้คืนค่า path ของไฟล์ที่ค้นหา โดยถ้าหากไม่พบไฟล์ที่กำหนดจะคืนค่า false กลับมา |
|---|
method:find_file ( directory, filename, require, extension );
return type:string
special:static
content:require_once ( Kohana::find_file ( "hooks", "base_data" ) );
example:ตัวแปร filename สามารถใส่เป็น sub directory ได้ เช่น "hooks/data"