mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
d102a902b9
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@65057 467b73ca-7a2a-4603-9d3b-597d59a354a9
21 lines
391 B
PHP
21 lines
391 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');
|
|
}
|
|
} |