| Class | Group |
| In: |
app/models/group.rb
|
| Parent: | ActiveRecord::Base |
| Original by: | Sysphonic |
| Authors: | MORITA Shintaro |
| Copyright: | Copyright (c) 2007 MORITA Shintaro, Sysphonic. All rights reserved. |
| License: | New BSD License (See LICENSE file) |
| URL: | http://sysphonic.com/ |
Group contains Users and sub Groups, and represents the unit in the organization.
Gets count of Users.
| recursive: | Specify true if recursive search is required. |
| return: | Count of users. |
Gets childs array of this Group.
| recursive: | Specify true if recursive search is required. |
| ret_obj: | Flag to require Group instances by return. |
| return: | Array of child Group-IDs, or Groups if ret_obj is true. |
Gets parents array of this object.
| ret_obj: | Flag to require Group instances by return. |
| return: | Array of parent Groups or Group-IDs. |