$array'key' : NULL you just do (Kohana 3.0) $var = Arr::get($arr, 'key', NULL) or (Kohana 3.1+) $var = $request->query('key').
That's pretty much the right way, I'd only suggest you to use NULL as default instead of string '0' where ever you can. You can also use this function for any kind of array, not only global vars, so instead of $var = isset($arr'key')? $array'key' : NULL you just do (Kohana 3.0) $var = Arr::get($arr, 'key', NULL); or (Kohana 3.1+) $var = $request->query('key').
Passing NULL as the 3rd argument is superfluous. – The Pixel Developer Jul 23 '10 at 1:24 @The Pixel Developer exactly, as it's the default value anyways; I was only referring to it as a better practice than passing '0' :) – Kemo Jul 23 '10 at 14:45.
I think using Arr::get is too general, it is more practical to use specific Kohana method designed exactly for this Request::current->query('variable') or $this->request->query('variable') even the request is internal you can have any variables passed to it.
I'll update my answer, this question was asked before 3.1 – Kemo Oct 17 at 21:48.
I want to INSERT a record in a database (which is Microsoft SQL Server in my case) using JDBC in Java. At the same time, I want to obtain the insert ID.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.