Changes made for documentation

This commit is contained in:
Abraar
2011-01-18 09:10:20 +00:00
parent fdf27a117d
commit cdc93449ae
23 changed files with 59 additions and 56 deletions

View File

@@ -24,7 +24,7 @@
*/ */
/** /**
* @package gulliver.system * @package gulliver.system
*/ */

View File

@@ -12,7 +12,7 @@ require_once 'classes/model/om/BaseAuthenticationSource.php';
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package classes.model * @package rbac-classes-model
*/ */
class AuthenticationSource extends BaseAuthenticationSource { class AuthenticationSource extends BaseAuthenticationSource {
function getAllAuthSources() { function getAllAuthSources() {

View File

@@ -16,7 +16,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package classes.model * @package rbac-classes-model
*/ */
class AuthenticationSourcePeer extends BaseAuthenticationSourcePeer { class AuthenticationSourcePeer extends BaseAuthenticationSourcePeer {

View File

@@ -35,7 +35,7 @@ require_once 'classes/model/om/BasePermissions.php';
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package classes.model * @package rbac-classes-model
*/ */
class Permissions extends BasePermissions { class Permissions extends BasePermissions {
function loadByCode($sCode = '') { function loadByCode($sCode = '') {

View File

@@ -39,7 +39,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package classes.model * @package rbac-classes-model
*/ */
class PermissionsPeer extends BasePermissionsPeer { class PermissionsPeer extends BasePermissionsPeer {

View File

@@ -35,7 +35,7 @@ require_once 'classes/model/om/BaseRbacUsers.php';
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package classes.model * @package rbac-classes-model
*/ */
class RbacUsers extends BaseRbacUsers { class RbacUsers extends BaseRbacUsers {
/** /**

View File

@@ -39,7 +39,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package classes.model * @package rbac-classes-model
*/ */
class RbacUsersPeer extends BaseRbacUsersPeer { class RbacUsersPeer extends BaseRbacUsersPeer {

View File

@@ -1,26 +1,26 @@
<?php <?php
/** /**
* Roles.php * Roles.php
* *
* ProcessMaker Open Source Edition * ProcessMaker Open Source Edition
* Copyright (C) 2004 - 2008 Colosa Inc.23 * Copyright (C) 2004 - 2008 Colosa Inc.23
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as * it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version. * License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details. * GNU Affero General Public License for more details.
* *
* You should have received a copy of the GNU Affero General Public License * You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
* For more information, contact Colosa Inc, 2566 Le Jeune Rd., * For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
* Coral Gables, FL, 33134, USA, or email info@colosa.com. * Coral Gables, FL, 33134, USA, or email info@colosa.com.
* *
*/ */
require_once 'classes/model/Permissions.php'; require_once 'classes/model/Permissions.php';
@@ -33,16 +33,16 @@ require_once 'classes/model/om/BaseUsersRoles.php';
require_once 'classes/model/Content.php'; require_once 'classes/model/Content.php';
/** /**
* Skeleton subclass for representing a row from the 'ROLES' table. * Skeleton subclass for representing a row from the 'ROLES' table.
* *
* *
* *
* You should add additional methods to this class to meet the * You should add additional methods to this class to meet the
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package classes.model * @package rbac-classes-model
*/ */
class Roles extends BaseRoles { class Roles extends BaseRoles {
@@ -364,7 +364,7 @@ class Roles extends BaseRoles {
$oCriteria2->add(UsersPeer::USR_ROLE , $row['ROL_CODE']); $oCriteria2->add(UsersPeer::USR_ROLE , $row['ROL_CODE']);
BasePeer::doUpdate($oCriteria1, $oCriteria2, Propel::getConnection('workflow')); BasePeer::doUpdate($oCriteria1, $oCriteria2, Propel::getConnection('workflow'));
//delete roles for the same System //delete roles for the same System
$c = new Criteria(); $c = new Criteria();
$c->addSelectColumn(UsersRolesPeer::USR_UID); $c->addSelectColumn(UsersRolesPeer::USR_UID);
$c->addSelectColumn(RolesPeer::ROL_UID); $c->addSelectColumn(RolesPeer::ROL_UID);
@@ -385,7 +385,7 @@ class Roles extends BaseRoles {
$result->next(); $result->next();
} }
//save the unique role for this system //save the unique role for this system
$oUsersRoles = new UsersRoles(); $oUsersRoles = new UsersRoles();
$oUsersRoles->setUsrUid($aData['USR_UID']); $oUsersRoles->setUsrUid($aData['USR_UID']);
$oUsersRoles->setRolUid($aData['ROL_UID']); $oUsersRoles->setRolUid($aData['ROL_UID']);
@@ -541,4 +541,4 @@ class Roles extends BaseRoles {
} }
} }
} // Roles } // Roles

View File

@@ -39,7 +39,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package classes.model * @package rbac-classes-model
*/ */
class RolesPeer extends BaseRolesPeer { class RolesPeer extends BaseRolesPeer {

View File

@@ -35,7 +35,7 @@ require_once 'classes/model/om/BaseRolesPermissions.php';
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package classes.model * @package rbac-classes-model
*/ */
class RolesPermissions extends BaseRolesPermissions { class RolesPermissions extends BaseRolesPermissions {
function create($aData) { function create($aData) {

View File

@@ -39,7 +39,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package classes.model * @package rbac-classes-model
*/ */
class RolesPermissionsPeer extends BaseRolesPermissionsPeer { class RolesPermissionsPeer extends BaseRolesPermissionsPeer {

View File

@@ -35,7 +35,7 @@ require_once 'classes/model/om/BaseSystems.php';
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package classes.model * @package rbac-classes-model
*/ */
class Systems extends BaseSystems { class Systems extends BaseSystems {

View File

@@ -39,7 +39,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package classes.model * @package rbac-classes-model
*/ */
class SystemsPeer extends BaseSystemsPeer { class SystemsPeer extends BaseSystemsPeer {

View File

@@ -35,7 +35,7 @@ require_once 'classes/model/om/BaseUsersRoles.php';
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package classes.model * @package rbac-classes-model
*/ */
class UsersRoles extends BaseUsersRoles { class UsersRoles extends BaseUsersRoles {

View File

@@ -39,7 +39,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package classes.model * @package rbac-classes-model
*/ */
class UsersRolesPeer extends BaseUsersRolesPeer { class UsersRolesPeer extends BaseUsersRolesPeer {

View File

@@ -14,7 +14,7 @@ include_once 'creole/CreoleTypes.php';
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package classes.model * @package rbac-classes-model
*/ */
class AuthenticationSourceMapBuilder { class AuthenticationSourceMapBuilder {

View File

@@ -14,7 +14,7 @@ include_once 'creole/CreoleTypes.php';
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package classes.model * @package rbac-classes-model
*/ */
class PermissionsMapBuilder { class PermissionsMapBuilder {

View File

@@ -14,7 +14,7 @@ include_once 'creole/CreoleTypes.php';
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package classes.model * @package rbac-classes-model
*/ */
class RbacUsersMapBuilder { class RbacUsersMapBuilder {

View File

@@ -14,7 +14,7 @@ include_once 'creole/CreoleTypes.php';
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package classes.model * @package rbac-classes-model
*/ */
class RolesMapBuilder { class RolesMapBuilder {

View File

@@ -14,7 +14,7 @@ include_once 'creole/CreoleTypes.php';
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package classes.model * @package rbac-classes-model
*/ */
class RolesPermissionsMapBuilder { class RolesPermissionsMapBuilder {

View File

@@ -14,7 +14,7 @@ include_once 'creole/CreoleTypes.php';
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package classes.model * @package rbac-classes-model
*/ */
class SystemsMapBuilder { class SystemsMapBuilder {

View File

@@ -14,7 +14,7 @@ include_once 'creole/CreoleTypes.php';
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package classes.model * @package rbac-classes-model
*/ */
class UsersRolesMapBuilder { class UsersRolesMapBuilder {

View File

@@ -27,6 +27,9 @@
* LDAP plugin for RBAC class * LDAP plugin for RBAC class
* *
* @author Fernando Ontiveros * @author Fernando Ontiveros
* @package rbac-classes-model
* @access public
*/ */
class LDAP class LDAP