Log message #4047247

# At Username Text
# Jul 3rd 2017, 07:55 savant https://book.cakephp.org/3.0/en/controllers/components.html#creating-a-component
# Jul 3rd 2017, 07:55 savant initialize
# Jul 3rd 2017, 07:55 pidlo where i in comp. class get this parameters? in constructor or in initialize?
# Jul 3rd 2017, 07:54 pidlo i rewrite old component 2x version.. i have in controller ..... $this->loadComponent('Wsearch', ['model'=>$this->name,...])
# Jul 3rd 2017, 07:44 savant Yes
# Jul 3rd 2017, 07:44 birdy247 @savant you want me to use the actual class anmes?
# Jul 3rd 2017, 07:42 birdy247 class*
# Jul 3rd 2017, 07:42 savant use actual class and method names
# Jul 3rd 2017, 07:42 birdy247 assuming call A is abstract
# Jul 3rd 2017, 07:42 birdy247 class A calls a method in class B
# Jul 3rd 2017, 07:42 savant whats the example?
# Jul 3rd 2017, 07:42 birdy247 I class B extends class A
# Jul 3rd 2017, 07:42 birdy247 Is it "bad" for a prent class to call a child class method?
# Jul 3rd 2017, 07:31 pidlo i would like use best practices for this because i cannot rewrite this thinks next 3 years..
# Jul 3rd 2017, 07:31 savant yep
# Jul 3rd 2017, 07:31 pidlo ok savant many thanks, this is ok i revrite cakephp apps writen in versions1.2, 1.3, and 2.x to v 3
# Jul 3rd 2017, 07:21 savant require __DIR__ . ‘/functions.php’;
# Jul 3rd 2017, 07:21 savant then add the following to your config/bootstrap.php
# Jul 3rd 2017, 07:20 savant just create that file
# Jul 3rd 2017, 07:20 savant you can put stuff like that in the config/functions.php file
# Jul 3rd 2017, 07:16 pidlo savant like this and many others similar functions...
# Jul 3rd 2017, 07:16 pidlo savant https://gist.github.com/anonymous/986a2db5c77692d725f0ef2fd1d84736
# Jul 3rd 2017, 07:10 slackebot ~tell pidlo about gist
# Jul 3rd 2017, 07:10 slackebot Command sent from Slack by savant:
# Jul 3rd 2017, 07:10 savant can you gist it for me?
# Jul 3rd 2017, 07:10 savant I dont know what that function does
# Jul 3rd 2017, 07:10 pidlo savant is there some example stackoverflow? i have model and when i search in this i can call this functions like getDataToObject by example
# Jul 3rd 2017, 07:07 savant then require it in your config/bootstrap.php file.
# Jul 3rd 2017, 07:07 savant and put them there
# Jul 3rd 2017, 07:07 savant you can create a config/functions.php
# Jul 3rd 2017, 07:07 savant if its just a bunch of functions
# Jul 3rd 2017, 07:06 pidlo savant ok only for convenience .. maybe i would write my own classes but i dont where i put it... in vendors??
# Jul 3rd 2017, 07:04 adriencs o/
# Jul 3rd 2017, 07:01 savant pidlo: did you just put them there for convenience?
# Jul 3rd 2017, 07:00 pidlo hello all in cakphp2x i use some own functions in app_model . Where i can put this functions in cakephp3 ?
# Jul 3rd 2017, 06:13 ashish_onmobile @loganstrob I will suggest phpstromis good one
# Jul 3rd 2017, 05:49 loganstrob thank you
# Jul 3rd 2017, 05:49 loganstrob oh okk
# Jul 3rd 2017, 05:48 savant but normally sublime text
# Jul 3rd 2017, 05:48 savant or Atom
# Jul 3rd 2017, 05:48 savant i use that as well