Log message #4053079

# At Username Text
# Jul 17th 2017, 18:57 hmic and you can add more than a third state later on :d
# Jul 17th 2017, 18:57 hmic bit arrays should work fine
# Jul 17th 2017, 18:57 jeremyharris though I agree, nulls shouldn’t be saved in a boolean column
# Jul 17th 2017, 18:57 gglow oh?
# Jul 17th 2017, 18:57 gglow it makes sense boolean can only be true or false though:)
# Jul 17th 2017, 18:57 jeremyharris looking at the BooleanType, it should respect null
# Jul 17th 2017, 18:56 gglow should I use a byte instead if I need 3 states?
# Jul 17th 2017, 18:56 hmic bool is true or false, not null. thats it.
# Jul 17th 2017, 18:56 gglow yep
# Jul 17th 2017, 18:56 jeremyharris cake 3?
# Jul 17th 2017, 18:54 gglow When I submit a form with a boolean set to null in my json, CakePHP stores it as false. How do I get Cake to store my null booleans as null and not false?
# Jul 17th 2017, 18:54 jeremyharris https://readthedocs.org/ might work for you then
# Jul 17th 2017, 18:53 devito not very complex
# Jul 17th 2017, 18:52 jeremyharris depends on how complex you need them to be
# Jul 17th 2017, 18:52 jeremyharris lots of people use readthedocs for simpler docs
# Jul 17th 2017, 18:52 devito anyone have suggestions for doumentation generators?
# Jul 17th 2017, 17:57 slackebot <savant>
# Jul 17th 2017, 17:56 megan Lol
# Jul 17th 2017, 17:55 savant you cant set your own points
# Jul 17th 2017, 17:55 savant @admad--
# Jul 17th 2017, 17:55 admad @admad--
# Jul 17th 2017, 17:54 admad @savant++
# Jul 17th 2017, 17:54 savant there we go
# Jul 17th 2017, 17:53 savant @plusplus help
# Jul 17th 2017, 17:53 savant @plusplus leaderboard
# Jul 17th 2017, 17:53 savant @admad++
# Jul 17th 2017, 17:53 savant @admad++
# Jul 17th 2017, 17:50 savant @admad++
# Jul 17th 2017, 17:48 savant test++
# Jul 17th 2017, 17:45 backstageel Hello, can someone show me a link to a tutorial on how to enable opcache on cakephp2?
# Jul 17th 2017, 16:50 aaronc jeremyharris++
# Jul 17th 2017, 16:50 aaronc Thanks for the help. I ended up get the passed vars with $this->viewVars, then the return is an array, I used array_keys() on it to get an array of all passed variables.
# Jul 17th 2017, 16:46 jeremyharris np!
# Jul 17th 2017, 16:45 aaronc Apologies had a bunch of pr statements floating around and mixed them up.
# Jul 17th 2017, 16:44 jeremyharris when you debug it, it shows you the “items” as a help for debugging
# Jul 17th 2017, 16:43 jeremyharris no it’s not :slightly_smiling_face: it’s an internal piece of the collection. if you want to make sure it was passed, you can check that the var you passed is indeed a collection/collectioninterface
# Jul 17th 2017, 16:42 aaronc I'm attempting to check what variables were passed to the view with ->set() in the controller, so in this case, 'items' is one of them.
# Jul 17th 2017, 16:41 jeremyharris items is internal
# Jul 17th 2017, 16:41 aaronc The name of the array, so in the first example 'items'. It seems to be disappearing with a lot of accessor methods.
# Jul 17th 2017, 16:40 jeremyharris I thought that was what you were asking for :slightly_smiling_face: what is it you want?
# Jul 17th 2017, 16:39 aaronc ->first returns just the part ```[id] => 1 [name] => Safari Land/Second Chance [[new]] => [[accessible]] => Array ( [*] => 1 ) etc.... ```