setColumn('name', 'string', 255); $class->hasMany('ORM_AccessGroup as accessGroups', array( 'local' => 'accessControlID', 'foreign' => 'accessGroupID', 'refClass' => 'ORM_AccessControlsGroups') ); } }