mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
22 lines
392 B
PHP
22 lines
392 B
PHP
<?php
|
|
class i18nTestModule extends DataObject implements TestOnly {
|
|
|
|
static $db = array(
|
|
'MyField' => 'Varchar',
|
|
);
|
|
|
|
function myMethod() {
|
|
_t(
|
|
'i18nTestModule.ENTITY',
|
|
'Entity with "Double Quotes"',
|
|
PR_LOW,
|
|
'Comment for entity'
|
|
);
|
|
}
|
|
}
|
|
class i18nTestModule_Addition extends Object {
|
|
function myAdditionalMethod() {
|
|
_t('i18nTestModule.ADDITION','Addition');
|
|
}
|
|
}
|