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

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

View File

@@ -16,7 +16,7 @@
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
* @package classes.model
* @package rbac-classes-model
*/
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
* long as it does not already exist in the output directory.
*
* @package classes.model
* @package rbac-classes-model
*/
class Permissions extends BasePermissions {
function loadByCode($sCode = '') {

View File

@@ -39,7 +39,7 @@
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
* @package classes.model
* @package rbac-classes-model
*/
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
* long as it does not already exist in the output directory.
*
* @package classes.model
* @package rbac-classes-model
*/
class RbacUsers extends BaseRbacUsers {
/**

View File

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

View File

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

View File

@@ -39,7 +39,7 @@
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
* @package classes.model
* @package rbac-classes-model
*/
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
* long as it does not already exist in the output directory.
*
* @package classes.model
* @package rbac-classes-model
*/
class Systems extends BaseSystems {

View File

@@ -39,7 +39,7 @@
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
* @package classes.model
* @package rbac-classes-model
*/
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
* long as it does not already exist in the output directory.
*
* @package classes.model
* @package rbac-classes-model
*/
class UsersRoles extends BaseUsersRoles {

View File

@@ -39,7 +39,7 @@
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
* @package classes.model
* @package rbac-classes-model
*/
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
* (i.e. if it's a text column type).
*
* @package classes.model
* @package rbac-classes-model
*/
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
* (i.e. if it's a text column type).
*
* @package classes.model
* @package rbac-classes-model
*/
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
* (i.e. if it's a text column type).
*
* @package classes.model
* @package rbac-classes-model
*/
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
* (i.e. if it's a text column type).
*
* @package classes.model
* @package rbac-classes-model
*/
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
* (i.e. if it's a text column type).
*
* @package classes.model
* @package rbac-classes-model
*/
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
* (i.e. if it's a text column type).
*
* @package classes.model
* @package rbac-classes-model
*/
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
* (i.e. if it's a text column type).
*
* @package classes.model
* @package rbac-classes-model
*/
class UsersRolesMapBuilder {

View File

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