Log message #4161084

# At Username Text
# Jul 22nd 2018, 20:15 rj_ how to force cake to send headers X-Sendfile for all images?
# Jul 22nd 2018, 20:14 rj_ join
# Jul 22nd 2018, 19:47 dereuromark perfect :+1::skin-tone-2:
# Jul 22nd 2018, 19:36 druffin I ended up setting my hard-coded sql timestamps to FrozenTime instead of DateTime and that did the trick
# Jul 22nd 2018, 19:32 dereuromark druffin: why are you returning DateTime in the first place? The framework should make you work only with its internal type classes.
# Jul 22nd 2018, 18:33 lorenzo modify it
# Jul 22nd 2018, 18:33 lorenzo there is no way around that. DateTime is a PHP class, we cannot modified
# Jul 22nd 2018, 18:33 lorenzo druffin, that is true
# Jul 22nd 2018, 17:15 druffin I require DateTime to return as the same format string as FrozenTime
# Jul 22nd 2018, 17:15 druffin json_encode stringifies DateTime as array, FrozenTime as the format string I set.
# Jul 22nd 2018, 17:14 druffin There does not seem to be an equivalent for FrozenTime::setToStringFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ"); when it comes to DateTime.
# Jul 22nd 2018, 17:11 lorenzo what do you mean?
# Jul 22nd 2018, 17:11 lorenzo arrays?
# Jul 22nd 2018, 15:37 druffin I added FrozenTime::setToStringFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ"); in my bootstrap which successfully converts my FrozenTime objects to a string, but when I add Time::setToStringFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");, my DateTime objects still return as arrays and not strings. Does someone know how I can accomplish this?
# Jul 22nd 2018, 14:39 druffin How do I configure Cake to return DateTime objects as DATE_W3C strings instead of an array?
# Jul 22nd 2018, 08:19 birdy247 making sure it uses the correct priorities i,e plugin, app etc..
# Jul 22nd 2018, 08:19 birdy247 Is it possible to use the View class to see if a template exits?
# Jul 22nd 2018, 01:03 etipaced @shiblydu60 Welcome!
# Jul 22nd 2018, 00:31 shiblydu60 Hi all
# Jul 22nd 2018, 00:14 etipaced https://cakesf.herokuapp.com Should get you the invite.
# Jul 21st 2018, 23:44 saltlake How can I join cakephp.slack.com?
# Jul 21st 2018, 23:44 saltlake Hi, anyone there?
# Jul 21st 2018, 18:11 ra7bi what is your question
# Jul 21st 2018, 16:55 rudy1976s I am building my first rest controller using cakephp 3.x and need some help regarding pagination
# Jul 21st 2018, 16:55 rudy1976s good afternoon to everyone
# Jul 21st 2018, 16:04 ra7bi i've two forms after inserting into first form i will take the id and use it in second form , how i can guarantee that id is the correct one , maybe other user saved another id at same time
# Jul 21st 2018, 13:36 sekai.dev seems so :(
# Jul 21st 2018, 13:28 turkles Not many here who can answer stuff, sleepy time for most!
# Jul 21st 2018, 13:14 sekai.dev Ah don't worry, could solve it. Thank you!
# Jul 21st 2018, 12:57 sekai.dev Hey guys. Is there anyone that knows translateBehavior well?
# Jul 21st 2018, 11:38 turkles hrm. I think it's because my Entity class is named wrong, what is the Entity naming convention for a 'through' class
# Jul 21st 2018, 11:17 turkles How can I set default properties for a newEntity(), is there some magic needed, or is __contruct enough?
# Jul 21st 2018, 11:01 Lachie Ello
# Jul 21st 2018, 10:54 ra7bi Sure ,
# Jul 21st 2018, 10:53 admad Read up out entity getters on manual
# Jul 21st 2018, 10:52 ra7bi @admad oh , sounds great thanks i will do that .
# Jul 21st 2018, 10:52 admad Sorry "valueField" option not displayField
# Jul 21st 2018, 10:51 admad @ra7bi set up a virtual field in entity. Then specify that field name in "displayField" option of find(list)
# Jul 21st 2018, 10:51 ra7bi Thanks
# Jul 21st 2018, 10:51 ra7bi i thought there is a way to do it directly in view !
# Jul 21st 2018, 10:50 birdy247 @ra7bi yes, alaways do the grunt work away from view