Public Member Functions | |
| GenieGate_Api_Plugin_Apache_FlatGroupFile ($filename) | |
| Constructor. | |
| parse ($filename) | |
| Reads the group info. | |
| removeUid ($uid) | |
| Remove $uid from groups. | |
| removeGid ($gid) | |
| Remove a group. | |
| addUid ($uid, $gid) | |
| Add user to a group. | |
| save ($fh) | |
| saves the group info to a file handle. | |
This is used to read, write and alter groups in apache group files.
Definition at line 13 of file Apache.php.
|
|
Constructor.
Definition at line 20 of file Apache.php. References parse(). |
|
||||||||||||
|
Add user to a group. This adds userID $uid to the group $gid
Definition at line 91 of file Apache.php. |
|
|
Reads the group info. called in the constructor, generally one never needs to call this method, (unless you needed to re-use the same object)
Definition at line 33 of file Apache.php. Referenced by GenieGate_Api_Plugin_Apache_FlatGroupFile(). |
|
|
Remove a group. This function removes a group ID, (including all members within that group)
Definition at line 81 of file Apache.php. |
|
|
Remove $uid from groups. This iterates through removing $uid from all of the groups
Definition at line 64 of file Apache.php. |
|
|
saves the group info to a file handle. This stores the resulting groups file. (this must be called to make changes permanent.)
Definition at line 106 of file Apache.php. |
Documentation generated by DoxyGen