| key_string() | ใช้คืนค่า ค่าข้อมูล ของ array ที่กำหนด ตาม key ที่กำหนด |
|---|
method:key_string ( key, var_array );
return type:string
special:static
content:ใช้คืนค่า ค่าข้อมูล ของ array ที่กำหนด ตาม key ที่กำหนด
example:$arr = array ( "website"=>"bamboolabcode", "protocol"=>"http" ); echo Kohana::key_string ( "website", $arr );
comment:ถ้าหากว่าตัวแปร var_array เป็นมากกว่า 1 มิติ แล้ว key ที่กำหนดให้กำหนดแบบ key.key ไปเรื่อยๆ