| 1 | <?php namespace Rocket\Translation\Model; |
||
| 13 | class Translation extends Eloquent |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var bool Indicates if the model should be timestamped. |
||
| 17 | */ |
||
| 18 | public $timestamps = false; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var string The table associated with the model. |
||
| 22 | */ |
||
| 23 | protected $table = 'translations'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * The attributes that should be mutated to dates. |
||
| 27 | * |
||
| 28 | * @var array |
||
| 29 | */ |
||
| 30 | protected $dates = ['date_edition']; |
||
| 31 | |||
| 32 | public static function setTranslation($stringId, $languageId, $text) |
||
| 52 | |||
| 53 | protected static function getTranslation($stringId, $languageId) |
||
| 57 | } |
||
| 58 |