Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
MessagesDomain Class Reference

Represents a list of messages in a domain for a locale. More...

Public Member Functions

 __construct ($locale=null, LoaderInterface $loader=null, $domain=null)
 
 getMessages ()
 
 getLoader ()
 
 getLocale ()
 
 setMessages ($messages)
 
 setLoader ($loader)
 
 setLocale ($locale)
 
 store ()
 
 load ()
 
 getDomain ()
 

Protected Attributes

 $messages
 
 $loader
 
 $locale
 
 $domain
 

Detailed Description

Represents a list of messages in a domain for a locale.

Ubiquity\translation$MessagesDomain This class is part of Ubiquity

Author
jcheron myadd.nosp@m.ress.nosp@m.mail@.nosp@m.gmai.nosp@m.l.com
Version
1.0.0

Definition at line 16 of file MessagesDomain.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $locale = null,
LoaderInterface  $loader = null,
  $domain = null 
)

Definition at line 22 of file MessagesDomain.php.

Member Function Documentation

◆ getDomain()

getDomain ( )
Returns
string

Definition at line 86 of file MessagesDomain.php.

◆ getLoader()

getLoader ( )
Returns
mixed

Definition at line 40 of file MessagesDomain.php.

◆ getLocale()

getLocale ( )
Returns
mixed

Definition at line 48 of file MessagesDomain.php.

◆ getMessages()

getMessages ( )
Returns
mixed

Definition at line 32 of file MessagesDomain.php.

◆ load()

load ( )

Definition at line 80 of file MessagesDomain.php.

◆ setLoader()

setLoader (   $loader)
Parameters
mixed$loader

Definition at line 64 of file MessagesDomain.php.

◆ setLocale()

setLocale (   $locale)
Parameters
mixed$locale

Definition at line 72 of file MessagesDomain.php.

◆ setMessages()

setMessages (   $messages)
Parameters
mixed$messages

Definition at line 56 of file MessagesDomain.php.

◆ store()

store ( )

Definition at line 76 of file MessagesDomain.php.

Field Documentation

◆ $domain

$domain
protected

Definition at line 20 of file MessagesDomain.php.

◆ $loader

$loader
protected

Definition at line 18 of file MessagesDomain.php.

◆ $locale

$locale
protected

Definition at line 19 of file MessagesDomain.php.

◆ $messages

$messages
protected

Definition at line 17 of file MessagesDomain.php.


The documentation for this class was generated from the following file: