Elgg
Version 2.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
I18n
MessageTemplate.php
Go to the documentation of this file.
1
<?php
2
namespace
Elgg\I18n
;
3
20
abstract
class
MessageTemplate
{
22
protected
$template
;
23
29
public
function
__construct
(
$template
) {
30
$this->
template
=
$template
;
31
}
32
40
public
abstract
function
format
(array
$args
);
41
47
public
function
__toString
() {
48
return
$this->template
;
49
}
50
}
Elgg\I18n\MessageTemplate\__toString
__toString()
Get the string template this message uses for translation.
Definition:
MessageTemplate.php:47
Elgg\I18n\MessageTemplate\format
format(array $args)
Applies the inputs to the message template and returns the result.
$args
$args
Some servers don't allow PHP to check the rewrite, so try via AJAX.
Definition:
js_rewrite_check.php:8
Elgg\I18n\MessageTemplate\__construct
__construct($template)
Constructor.
Definition:
MessageTemplate.php:29
Elgg\I18n\MessageTemplate
WARNING: API IN FLUX.
Definition:
MessageTemplate.php:20
Elgg\I18n
Definition:
ArrayMessageBundle.php:2
Elgg\I18n\MessageTemplate\$template
$template
Definition:
MessageTemplate.php:22
Generated on Thu Oct 31 2024 00:06:05 for Elgg by
1.8.11