Model_Link¶
- class Nos\Media\Model_Link¶
- Link between a Model_Media and a Nos\Orm\Model.Extends Nos\Orm\Model.
Columns¶
medil_id: | Model_Link primary key. |
---|---|
medil_from_table: | |
DB table name of the model which the media is linked to. | |
medil_foreign_id: | |
ID of the model which the media is linked to. | |
medil_key: | string key identifying the linked media. |
medil_media_id: | ID of the linked media. |
Relations¶
- property Nos\Media\Model_Link::$media¶
- Relation type: belongs_to.
- Model: Model_Media