bool defines(string $id, string $domain = 'messages')
Checks if a message has a translation (it does not take into account the fallback mechanism).
bool defines(string $id, string $domain = 'messages')
Checks if a message has a translation (it does not take into account the fallback mechanism).
string | $id | The message id |
string | $domain | The domain name |
bool | true if the message has a translation, false otherwise |
Designed by : w10schools
service@w10schools.com
Please login to continue.