schmunk42 / relation
Yii Framework components for active record relations
Installs: 7 994
Dependents: 5
Suggesters: 2
Security: 0
Stars: 7
Watchers: 3
Forks: 4
Open Issues: 1
Requires
- php: >=5.3.0
- yiisoft/yii: 1.1.*
README
GtcSaveRelationsBehavior
saves related records.GtcRelation
displays an input widget for relations.
These components were originally part of the gii-template-collection, credits to 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.*',
)