__construct()
__construct(integer $id = null,string $language = null,string $sub = 'asset')
Asset constructor.
Parameters
| integer | $id | The asset id |
| string | $language | The language to load in |
| string | $sub | The type of the sub class |