Changes done for PhpDoc

This commit is contained in:
abraar
2011-01-27 15:31:33 +00:00
parent 479ca86e00
commit beb6db8d31
14 changed files with 122 additions and 47 deletions

View File

@@ -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.
*
*/
/**
* access public
*/
require_once 'classes/model/om/BaseAuthenticationSource.php';
/**
* @package rbac-classes-model
*/
class AuthenticationSource extends BaseAuthenticationSource {
function getAllAuthSources() {
$oCriteria = new Criteria('rbac');
@@ -107,6 +113,10 @@ class AuthenticationSource extends BaseAuthenticationSource {
}
}
/**
* Function remove
* access public
*/
function remove($sUID) {
$oConnection = Propel::getConnection(AuthenticationSourcePeer::DATABASE_NAME);
try {

View File

@@ -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,6 +10,18 @@
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
*/
/**
* @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 {

View File

@@ -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');

View File

@@ -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';

View File

@@ -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

View File

@@ -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';

View File

@@ -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';
@@ -48,6 +51,11 @@ class Roles extends BaseRoles {
public $rol_name;
/**
* Function load
* access public
*/
public function load($Uid) {
try {
$oRow = RolesPeer::retrieveByPK($Uid);

View File

@@ -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';

View File

@@ -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';

View File

@@ -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

View File

@@ -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 ) {

View File

@@ -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

View File

@@ -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 {

View File

@@ -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';