Changes done for PhpDoc
This commit is contained in:
@@ -1,19 +1,25 @@
|
||||
<?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.
|
||||
*
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* access public
|
||||
*/
|
||||
require_once 'classes/model/om/BaseAuthenticationSource.php';
|
||||
|
||||
/**
|
||||
* @package rbac-classes-model
|
||||
*/
|
||||
|
||||
class AuthenticationSource extends BaseAuthenticationSource {
|
||||
function getAllAuthSources() {
|
||||
$oCriteria = new Criteria('rbac');
|
||||
@@ -21,7 +27,7 @@ class AuthenticationSource extends BaseAuthenticationSource {
|
||||
$oCriteria->add(AuthenticationSourcePeer::AUTH_SOURCE_UID, '', Criteria::NOT_EQUAL);
|
||||
return $oCriteria;
|
||||
}
|
||||
|
||||
|
||||
public function load($sUID) {
|
||||
try {
|
||||
$oAuthenticationSource = AuthenticationSourcePeer::retrieveByPK($sUID);
|
||||
@@ -107,6 +113,10 @@ class AuthenticationSource extends BaseAuthenticationSource {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Function remove
|
||||
* access public
|
||||
*/
|
||||
function remove($sUID) {
|
||||
$oConnection = Propel::getConnection(AuthenticationSourcePeer::DATABASE_NAME);
|
||||
try {
|
||||
|
||||
@@ -1,13 +1,7 @@
|
||||
<?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.
|
||||
*
|
||||
*
|
||||
@@ -16,8 +10,20 @@
|
||||
* application requirements. This class will only be generated as
|
||||
* 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 {
|
||||
|
||||
} // AuthenticationSourcePeer
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* Permissions.php
|
||||
* @package rbac-classes-model
|
||||
*
|
||||
* 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
|
||||
* 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';
|
||||
|
||||
|
||||
@@ -38,6 +42,12 @@ require_once 'classes/model/om/BasePermissions.php';
|
||||
* @package rbac-classes-model
|
||||
*/
|
||||
class Permissions extends BasePermissions {
|
||||
|
||||
/**
|
||||
* Function loadByCode
|
||||
* access public
|
||||
*/
|
||||
|
||||
function loadByCode($sCode = '') {
|
||||
try {
|
||||
$oCriteria = new Criteria('rbac');
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* PermissionsPeer.php
|
||||
* @package rbac-classes-model
|
||||
*
|
||||
* ProcessMaker Open Source Edition
|
||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
||||
@@ -23,6 +24,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @access public
|
||||
*/
|
||||
// include base peer class
|
||||
require_once 'classes/model/om/BasePermissionsPeer.php';
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* RbacUsers.php
|
||||
* @package rbac-classes-model
|
||||
*
|
||||
* 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
|
||||
* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @access public
|
||||
*/
|
||||
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
|
||||
*
|
||||
* @author Fernando Ontiveros Lira <fernando@colosa.com>
|
||||
* @access public
|
||||
|
||||
* access public
|
||||
* Function verifyLogin
|
||||
*
|
||||
* @param string $strUser UserId (login) de usuario
|
||||
* @param string $strPass Password
|
||||
* @return
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* RbacUsersPeer.php
|
||||
*
|
||||
* @package rbac-classes-model
|
||||
*
|
||||
* 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
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
@@ -23,6 +24,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @access public
|
||||
*/
|
||||
// include base peer class
|
||||
require_once 'classes/model/om/BaseRbacUsersPeer.php';
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* Roles.php
|
||||
*
|
||||
* @package rbac-classes-model
|
||||
*
|
||||
* 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
|
||||
* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @access public
|
||||
*/
|
||||
require_once 'classes/model/Permissions.php';
|
||||
require_once 'classes/model/Systems.php';
|
||||
require_once 'classes/model/RolesPermissions.php';
|
||||
@@ -47,7 +50,12 @@ require_once 'classes/model/Content.php';
|
||||
class Roles extends BaseRoles {
|
||||
|
||||
public $rol_name;
|
||||
|
||||
|
||||
/**
|
||||
* Function load
|
||||
* access public
|
||||
*/
|
||||
|
||||
public function load($Uid) {
|
||||
try {
|
||||
$oRow = RolesPeer::retrieveByPK($Uid);
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* RolesPeer.php
|
||||
*
|
||||
* @package rbac-classes-model
|
||||
*
|
||||
* 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
|
||||
* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @access public
|
||||
*/
|
||||
// include base peer class
|
||||
require_once 'classes/model/om/BaseRolesPeer.php';
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* RolesPermissions.php
|
||||
*
|
||||
* @package rbac-classes-model
|
||||
*
|
||||
* 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
|
||||
* 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';
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* RolesPermissionsPeer.php
|
||||
*
|
||||
* @package rbac-classes-model
|
||||
*
|
||||
* 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
|
||||
* 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';
|
||||
|
||||
// include object class
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* Systems.php
|
||||
*
|
||||
* @package rbac-classes-model
|
||||
*
|
||||
* 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
|
||||
* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @access public
|
||||
*/
|
||||
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.
|
||||
*
|
||||
* @param string $AppUid the uid of the application
|
||||
* @return array $Fields the fields
|
||||
* param string $AppUid the uid of the application
|
||||
* return array $Fields the fields
|
||||
* Function Load
|
||||
* access public
|
||||
*/
|
||||
|
||||
function Load ( $SysUid ) {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* SystemsPeer.php
|
||||
* @package rbac-classes-model
|
||||
*
|
||||
* 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
|
||||
* 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';
|
||||
|
||||
// include object class
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* UsersRoles.php
|
||||
* @package rbac-classes-model
|
||||
*
|
||||
* 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
|
||||
* 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';
|
||||
|
||||
|
||||
@@ -39,6 +43,10 @@ require_once 'classes/model/om/BaseUsersRoles.php';
|
||||
*/
|
||||
class UsersRoles extends BaseUsersRoles {
|
||||
|
||||
/**
|
||||
* Function getRolesBySystem
|
||||
* access public
|
||||
*/
|
||||
function getRolesBySystem ( $SysUid, $UsrUid ) {
|
||||
$con = Propel::getConnection(UsersRolesPeer::DATABASE_NAME);
|
||||
try {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* UsersRolesPeer.php
|
||||
*
|
||||
* @package rbac-classes-model
|
||||
*
|
||||
* 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
|
||||
* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @access public
|
||||
*/
|
||||
// include base peer class
|
||||
require_once 'classes/model/om/BaseUsersRolesPeer.php';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user