Blame view

framework/tests/i18n/_fakewebroot/i18ntestmodule/code/i18nTestModule.php 394 Bytes
385d70ca   Administrator   Importers CRUD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  <?php
  class i18nTestModule extends DataObject implements TestOnly {
  	
  	static $db = array(
  		'MyField' => 'Varchar', 
  	);
  	
  	public function myMethod() {
  		_t(
  			'i18nTestModule.ENTITY', 
  			'Entity with "Double Quotes"', 
  			'Comment for entity'
  		);
  	}
  }
  class i18nTestModule_Addition extends Object {
  	public function myAdditionalMethod() {
  		_t('i18nTestModule.ADDITION','Addition');
  	}
  }