You are here

public function MessageCatalogueInterface::defines in Plug 7

Checks if a message has a translation (it does not take into account the fallback mechanism).

@api

Parameters

string $id The message id:

string $domain The domain name:

Return value

bool true if the message has a translation, false otherwise

1 method overrides MessageCatalogueInterface::defines()
MessageCatalogue::defines in lib/Symfony/translation/MessageCatalogue.php
Checks if a message has a translation (it does not take into account the fallback mechanism).

File

lib/Symfony/translation/MessageCatalogueInterface.php, line 89

Class

MessageCatalogueInterface
MessageCatalogueInterface.

Namespace

Symfony\Component\Translation

Code

public function defines($id, $domain = 'messages');