Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/schmunk42/yii-relation
Yii Framework active record relation components
https://github.com/schmunk42/yii-relation
Last synced: about 1 month ago
JSON representation
Yii Framework active record relation components
- Host: GitHub
- URL: https://github.com/schmunk42/yii-relation
- Owner: schmunk42
- Created: 2013-08-15T11:53:49.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-06-23T20:59:52.000Z (over 10 years ago)
- Last Synced: 2024-09-30T23:51:25.889Z (about 1 month ago)
- Language: PHP
- Size: 151 KB
- Stars: 7
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Relation
========* `GtcSaveRelationsBehavior` saves related records.
* `GtcRelation` displays an input widget for relations.*These components were originally part of the gii-template-collection, credits to [thyseus](https://github.com/thyseus/)*
Usage
-----### composer autoloading
Just prepend a backslash to trigger the composer autoloader, requires `Yii 1.1.14`.
`\GtcSaveRelationsBehavior`
### Yii autoloading
Import the component in your application configuration:
```
'import' => array(
'vendor.schmunk42.relation.behaviors.*',
)
```