Changes made for documentation
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 = '') {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
/**
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -27,6 +27,9 @@
|
||||
* LDAP plugin for RBAC class
|
||||
*
|
||||
* @author Fernando Ontiveros
|
||||
* @package rbac-classes-model
|
||||
* @access public
|
||||
|
||||
*/
|
||||
|
||||
class LDAP
|
||||
|
||||
Reference in New Issue
Block a user