Log message #4181549

# At Username Text
# Mar 31st 2019, 01:49 challgren https://github.com/cakephp/cakephp/releases/tag/3.8.0-beta1
# Mar 30th 2019, 18:35 challgren https://book.cakephp.org/3.0/en/views/helpers/form.html
# Mar 30th 2019, 12:03 Vinoth need an expert advice
# Mar 30th 2019, 12:03 Vinoth what is the best way to get input in the form.?
# Mar 30th 2019, 12:02 Vinoth hi
# Mar 30th 2019, 08:14 grossolive4 https://book.cakephp.org/3.0/en/appendices/3-0-migration-guide.html#cachehelper-removed what a pity
# Mar 29th 2019, 20:07 ricksaccous that's more like post-processing after query
# Mar 29th 2019, 20:07 ricksaccous i'd say no since most likely cake is not capable of it... unless you want to patchEntity and manually hydrate it, lol, you'd have to do that for all non-hydrated fields
# Mar 29th 2019, 20:06 ricksaccous sure
# Mar 29th 2019, 20:06 ricksaccous not srue
# Mar 29th 2019, 20:03 itmpls no way to force it?
# Mar 29th 2019, 20:02 itmpls ah
# Mar 29th 2019, 20:02 ricksaccous probably manual joins aren't compatible with hydration
# Mar 29th 2019, 20:02 itmpls yeah
# Mar 29th 2019, 20:02 ricksaccous manual joins?
# Mar 29th 2019, 20:02 itmpls why would a field that's datetime when joined not pull in as a FrozenTime but other fields are?
# Mar 29th 2019, 19:29 ricksaccous how would i redirect to the current page i'm on, with all params and everything
# Mar 29th 2019, 18:40 ricksaccous oh awesome
# Mar 29th 2019, 18:33 itmpls ah, visibleProperties()
# Mar 29th 2019, 18:24 ricksaccous rather
# Mar 29th 2019, 18:24 ricksaccous or what you want
# Mar 29th 2019, 18:24 ricksaccous that's prob not the same thing though
# Mar 29th 2019, 18:24 ricksaccous and it would have all the columns with their types
# Mar 29th 2019, 18:24 ricksaccous i think you can get the schema information of a table
# Mar 29th 2019, 18:23 itmpls it seems like it'd be an easy thing
# Mar 29th 2019, 18:23 itmpls i'm just curious for a way that doesn't involve hardcoding field names yeah
# Mar 29th 2019, 18:23 ricksaccous because you are making your own columns?
# Mar 29th 2019, 18:22 ricksaccous ?
# Mar 29th 2019, 18:22 ricksaccous so you couldn't even rely on the schema
# Mar 29th 2019, 18:22 itmpls so i might not know the fields ahead of time
# Mar 29th 2019, 18:22 ricksaccous oh
# Mar 29th 2019, 18:22 ricksaccous if you just don't want them to be frozendates or whatever
# Mar 29th 2019, 18:22 itmpls this is a case where it can be random (since its reporting and may be various random fields)
# Mar 29th 2019, 18:22 ricksaccous there's also the database types you could play around with
# Mar 29th 2019, 18:22 ricksaccous or whatever
# Mar 29th 2019, 18:22 ricksaccous you can just define all date fields in an array and do foreach ($dateFieldArray as $dateField) { processDateField($entity->{$dateField});
# Mar 29th 2019, 18:20 itmpls otherwise i'll fallback to collections or something
# Mar 29th 2019, 18:20 itmpls like i wanna enumerate and convert if say the value is an instanceof FrozenDate etc
# Mar 29th 2019, 18:20 itmpls yeah i was curious if there was some other way of doing it. im curious why get_object_vars wont do it
# Mar 29th 2019, 18:20 ricksaccous depends on what you are trying to get and where
# Mar 29th 2019, 18:19 ricksaccous you can extract() the property and turn that into a collection and then use collection magic on that