I just started using CakePHP, and am learning how to use Bake. Why does the CRUD is generates have __ when using $this->Session->setFlash(__('The post could not be saved. Please, try again.', true)); and what is the true there for?
I just started using CakePHP, and am learning how to use Bake. Why does
Share
It’s the function used to translate the string passed as argument. Other CMSes / frameworks (also in different programming languages) use a function with similar name.