Changes done for PhpDoc
This commit is contained in:
@@ -1,19 +1,25 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once 'classes/model/om/BaseAuthenticationSource.php';
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* AuthenticationSource.php
|
||||||
|
* @package rbac-classes-model
|
||||||
* Skeleton subclass for representing a row from the 'AUTHENTICATION_SOURCE' table.
|
* Skeleton subclass for representing a row from the 'AUTHENTICATION_SOURCE' 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 rbac-classes-model
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* access public
|
||||||
|
*/
|
||||||
|
require_once 'classes/model/om/BaseAuthenticationSource.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package rbac-classes-model
|
||||||
|
*/
|
||||||
|
|
||||||
class AuthenticationSource extends BaseAuthenticationSource {
|
class AuthenticationSource extends BaseAuthenticationSource {
|
||||||
function getAllAuthSources() {
|
function getAllAuthSources() {
|
||||||
$oCriteria = new Criteria('rbac');
|
$oCriteria = new Criteria('rbac');
|
||||||
@@ -21,7 +27,7 @@ class AuthenticationSource extends BaseAuthenticationSource {
|
|||||||
$oCriteria->add(AuthenticationSourcePeer::AUTH_SOURCE_UID, '', Criteria::NOT_EQUAL);
|
$oCriteria->add(AuthenticationSourcePeer::AUTH_SOURCE_UID, '', Criteria::NOT_EQUAL);
|
||||||
return $oCriteria;
|
return $oCriteria;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function load($sUID) {
|
public function load($sUID) {
|
||||||
try {
|
try {
|
||||||
$oAuthenticationSource = AuthenticationSourcePeer::retrieveByPK($sUID);
|
$oAuthenticationSource = AuthenticationSourcePeer::retrieveByPK($sUID);
|
||||||
@@ -107,6 +113,10 @@ class AuthenticationSource extends BaseAuthenticationSource {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Function remove
|
||||||
|
* access public
|
||||||
|
*/
|
||||||
function remove($sUID) {
|
function remove($sUID) {
|
||||||
$oConnection = Propel::getConnection(AuthenticationSourcePeer::DATABASE_NAME);
|
$oConnection = Propel::getConnection(AuthenticationSourcePeer::DATABASE_NAME);
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -1,13 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
// include base peer class
|
|
||||||
require_once 'classes/model/om/BaseAuthenticationSourcePeer.php';
|
|
||||||
|
|
||||||
// include object class
|
|
||||||
include_once 'classes/model/AuthenticationSource.php';
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* AuthenticationSourcePeer.php
|
||||||
|
* @package rbac-classes-model *
|
||||||
* Skeleton subclass for performing query and update operations on the 'AUTHENTICATION_SOURCE' table.
|
* Skeleton subclass for performing query and update operations on the 'AUTHENTICATION_SOURCE' table.
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
@@ -16,8 +10,20 @@
|
|||||||
* 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 rbac-classes-model
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
|
// include base peer class
|
||||||
|
require_once 'classes/model/om/BaseAuthenticationSourcePeer.php';
|
||||||
|
|
||||||
|
// include object class
|
||||||
|
include_once 'classes/model/AuthenticationSource.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package rbac-classes-model
|
||||||
|
*/
|
||||||
class AuthenticationSourcePeer extends BaseAuthenticationSourcePeer {
|
class AuthenticationSourcePeer extends BaseAuthenticationSourcePeer {
|
||||||
|
|
||||||
} // AuthenticationSourcePeer
|
} // AuthenticationSourcePeer
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Permissions.php
|
* Permissions.php
|
||||||
|
* @package rbac-classes-model
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@@ -23,6 +24,9 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
require_once 'classes/model/om/BasePermissions.php';
|
require_once 'classes/model/om/BasePermissions.php';
|
||||||
|
|
||||||
|
|
||||||
@@ -38,6 +42,12 @@ require_once 'classes/model/om/BasePermissions.php';
|
|||||||
* @package rbac-classes-model
|
* @package rbac-classes-model
|
||||||
*/
|
*/
|
||||||
class Permissions extends BasePermissions {
|
class Permissions extends BasePermissions {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Function loadByCode
|
||||||
|
* access public
|
||||||
|
*/
|
||||||
|
|
||||||
function loadByCode($sCode = '') {
|
function loadByCode($sCode = '') {
|
||||||
try {
|
try {
|
||||||
$oCriteria = new Criteria('rbac');
|
$oCriteria = new Criteria('rbac');
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* PermissionsPeer.php
|
* PermissionsPeer.php
|
||||||
|
* @package rbac-classes-model
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
||||||
@@ -23,6 +24,9 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
// include base peer class
|
// include base peer class
|
||||||
require_once 'classes/model/om/BasePermissionsPeer.php';
|
require_once 'classes/model/om/BasePermissionsPeer.php';
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* RbacUsers.php
|
* RbacUsers.php
|
||||||
|
* @package rbac-classes-model
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@@ -22,7 +23,9 @@
|
|||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
require_once 'classes/model/om/BaseRbacUsers.php';
|
require_once 'classes/model/om/BaseRbacUsers.php';
|
||||||
|
|
||||||
|
|
||||||
@@ -44,8 +47,9 @@ class RbacUsers extends BaseRbacUsers {
|
|||||||
* verifica que un usuario tiene derechos de iniciar una aplicacion
|
* verifica que un usuario tiene derechos de iniciar una aplicacion
|
||||||
*
|
*
|
||||||
* @author Fernando Ontiveros Lira <fernando@colosa.com>
|
* @author Fernando Ontiveros Lira <fernando@colosa.com>
|
||||||
* @access public
|
* access public
|
||||||
|
* Function verifyLogin
|
||||||
|
*
|
||||||
* @param string $strUser UserId (login) de usuario
|
* @param string $strUser UserId (login) de usuario
|
||||||
* @param string $strPass Password
|
* @param string $strPass Password
|
||||||
* @return
|
* @return
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* RbacUsersPeer.php
|
* RbacUsersPeer.php
|
||||||
*
|
* @package rbac-classes-model
|
||||||
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@@ -23,6 +24,9 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
// include base peer class
|
// include base peer class
|
||||||
require_once 'classes/model/om/BaseRbacUsersPeer.php';
|
require_once 'classes/model/om/BaseRbacUsersPeer.php';
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Roles.php
|
* Roles.php
|
||||||
*
|
* @package rbac-classes-model
|
||||||
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@@ -22,7 +23,9 @@
|
|||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
require_once 'classes/model/Permissions.php';
|
require_once 'classes/model/Permissions.php';
|
||||||
require_once 'classes/model/Systems.php';
|
require_once 'classes/model/Systems.php';
|
||||||
require_once 'classes/model/RolesPermissions.php';
|
require_once 'classes/model/RolesPermissions.php';
|
||||||
@@ -47,7 +50,12 @@ require_once 'classes/model/Content.php';
|
|||||||
class Roles extends BaseRoles {
|
class Roles extends BaseRoles {
|
||||||
|
|
||||||
public $rol_name;
|
public $rol_name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Function load
|
||||||
|
* access public
|
||||||
|
*/
|
||||||
|
|
||||||
public function load($Uid) {
|
public function load($Uid) {
|
||||||
try {
|
try {
|
||||||
$oRow = RolesPeer::retrieveByPK($Uid);
|
$oRow = RolesPeer::retrieveByPK($Uid);
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* RolesPeer.php
|
* RolesPeer.php
|
||||||
*
|
* @package rbac-classes-model
|
||||||
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@@ -22,7 +23,9 @@
|
|||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
// include base peer class
|
// include base peer class
|
||||||
require_once 'classes/model/om/BaseRolesPeer.php';
|
require_once 'classes/model/om/BaseRolesPeer.php';
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* RolesPermissions.php
|
* RolesPermissions.php
|
||||||
*
|
* @package rbac-classes-model
|
||||||
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@@ -23,6 +24,9 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
require_once 'classes/model/om/BaseRolesPermissions.php';
|
require_once 'classes/model/om/BaseRolesPermissions.php';
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* RolesPermissionsPeer.php
|
* RolesPermissionsPeer.php
|
||||||
*
|
* @package rbac-classes-model
|
||||||
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@@ -23,7 +24,9 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include base peer class
|
/**
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
require_once 'classes/model/om/BaseRolesPermissionsPeer.php';
|
require_once 'classes/model/om/BaseRolesPermissionsPeer.php';
|
||||||
|
|
||||||
// include object class
|
// include object class
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Systems.php
|
* Systems.php
|
||||||
*
|
* @package rbac-classes-model
|
||||||
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@@ -22,7 +23,9 @@
|
|||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
require_once 'classes/model/om/BaseSystems.php';
|
require_once 'classes/model/om/BaseSystems.php';
|
||||||
|
|
||||||
|
|
||||||
@@ -42,8 +45,10 @@ class Systems extends BaseSystems {
|
|||||||
/**
|
/**
|
||||||
* Load the Application row specified in [app_id] column value.
|
* Load the Application row specified in [app_id] column value.
|
||||||
*
|
*
|
||||||
* @param string $AppUid the uid of the application
|
* param string $AppUid the uid of the application
|
||||||
* @return array $Fields the fields
|
* return array $Fields the fields
|
||||||
|
* Function Load
|
||||||
|
* access public
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function Load ( $SysUid ) {
|
function Load ( $SysUid ) {
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* SystemsPeer.php
|
* SystemsPeer.php
|
||||||
|
* @package rbac-classes-model
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@@ -23,7 +24,9 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include base peer class
|
/**
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
require_once 'classes/model/om/BaseSystemsPeer.php';
|
require_once 'classes/model/om/BaseSystemsPeer.php';
|
||||||
|
|
||||||
// include object class
|
// include object class
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* UsersRoles.php
|
* UsersRoles.php
|
||||||
|
* @package rbac-classes-model
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@@ -23,6 +24,9 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
require_once 'classes/model/om/BaseUsersRoles.php';
|
require_once 'classes/model/om/BaseUsersRoles.php';
|
||||||
|
|
||||||
|
|
||||||
@@ -39,6 +43,10 @@ require_once 'classes/model/om/BaseUsersRoles.php';
|
|||||||
*/
|
*/
|
||||||
class UsersRoles extends BaseUsersRoles {
|
class UsersRoles extends BaseUsersRoles {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Function getRolesBySystem
|
||||||
|
* access public
|
||||||
|
*/
|
||||||
function getRolesBySystem ( $SysUid, $UsrUid ) {
|
function getRolesBySystem ( $SysUid, $UsrUid ) {
|
||||||
$con = Propel::getConnection(UsersRolesPeer::DATABASE_NAME);
|
$con = Propel::getConnection(UsersRolesPeer::DATABASE_NAME);
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* UsersRolesPeer.php
|
* UsersRolesPeer.php
|
||||||
*
|
* @package rbac-classes-model
|
||||||
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@@ -22,7 +23,9 @@
|
|||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
// include base peer class
|
// include base peer class
|
||||||
require_once 'classes/model/om/BaseUsersRolesPeer.php';
|
require_once 'classes/model/om/BaseUsersRolesPeer.php';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user