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