schmunk42/relation

Yii Framework components for active record relations

1.1.0 2014-06-23 20:58 UTC

This package is auto-updated.

Last update: 2024-03-13 00:06:10 UTC


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.*',
)