CODE STYLE some classes in classes/model
This commit is contained in:
@@ -775,5 +775,4 @@ class Task extends BaseTask
|
||||
return $event_uid;
|
||||
}
|
||||
}
|
||||
//Task
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/**
|
||||
* TaskPeer.php
|
||||
* @package workflow.engine.classes.model
|
||||
*
|
||||
*
|
||||
* ProcessMaker Open Source Edition
|
||||
* 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
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
@@ -15,13 +15,13 @@
|
||||
* 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.,
|
||||
*
|
||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
// include base peer class
|
||||
@@ -34,7 +34,7 @@
|
||||
/**
|
||||
* Skeleton subclass for performing query and update operations on the 'TASK' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
* You should add additional methods to this class to meet the
|
||||
* application requirements. This class will only be generated as
|
||||
@@ -42,6 +42,7 @@
|
||||
*
|
||||
* @package workflow.engine.classes.model
|
||||
*/
|
||||
class TaskPeer extends BaseTaskPeer {
|
||||
class TaskPeer extends BaseTaskPeer
|
||||
{
|
||||
}
|
||||
|
||||
} // TaskPeer
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -2,10 +2,10 @@
|
||||
/**
|
||||
* TaskUserPeer.php
|
||||
* @package workflow.engine.classes.model
|
||||
*
|
||||
*
|
||||
* ProcessMaker Open Source Edition
|
||||
* 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
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
@@ -15,13 +15,13 @@
|
||||
* 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.,
|
||||
*
|
||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
// include base peer class
|
||||
@@ -34,7 +34,7 @@
|
||||
/**
|
||||
* Skeleton subclass for performing query and update operations on the 'TASK_USER' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
* You should add additional methods to this class to meet the
|
||||
* application requirements. This class will only be generated as
|
||||
@@ -42,6 +42,7 @@
|
||||
*
|
||||
* @package workflow.engine.classes.model
|
||||
*/
|
||||
class TaskUserPeer extends BaseTaskUserPeer {
|
||||
class TaskUserPeer extends BaseTaskUserPeer
|
||||
{
|
||||
}
|
||||
|
||||
} // TaskUserPeer
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -2,10 +2,10 @@
|
||||
/**
|
||||
* TranslationPeer.php
|
||||
* @package workflow.engine.classes.model
|
||||
*
|
||||
*
|
||||
* ProcessMaker Open Source Edition
|
||||
* 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
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
@@ -15,13 +15,13 @@
|
||||
* 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.,
|
||||
*
|
||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
// include base peer class
|
||||
@@ -34,7 +34,7 @@
|
||||
/**
|
||||
* Skeleton subclass for performing query and update operations on the 'TRANSLATION' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
* You should add additional methods to this class to meet the
|
||||
* application requirements. This class will only be generated as
|
||||
@@ -42,6 +42,7 @@
|
||||
*
|
||||
* @package workflow.engine.classes.model
|
||||
*/
|
||||
class TranslationPeer extends BaseTranslationPeer {
|
||||
class TranslationPeer extends BaseTranslationPeer
|
||||
{
|
||||
}
|
||||
|
||||
} // TranslationPeer
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -2,10 +2,10 @@
|
||||
/**
|
||||
* TriggersPeer.php
|
||||
* @package workflow.engine.classes.model
|
||||
*
|
||||
*
|
||||
* ProcessMaker Open Source Edition
|
||||
* 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
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
@@ -15,26 +15,26 @@
|
||||
* 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.,
|
||||
*
|
||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
// include base peer class
|
||||
require_once 'classes/model/om/BaseTriggersPeer.php';
|
||||
// include base peer class
|
||||
require_once 'classes/model/om/BaseTriggersPeer.php';
|
||||
|
||||
// include object class
|
||||
include_once 'classes/model/Triggers.php';
|
||||
// include object class
|
||||
include_once 'classes/model/Triggers.php';
|
||||
|
||||
|
||||
/**
|
||||
* Skeleton subclass for performing query and update operations on the 'TRIGGERS' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
* You should add additional methods to this class to meet the
|
||||
* application requirements. This class will only be generated as
|
||||
@@ -42,6 +42,7 @@
|
||||
*
|
||||
* @package workflow.engine.classes.model
|
||||
*/
|
||||
class TriggersPeer extends BaseTriggersPeer {
|
||||
class TriggersPeer extends BaseTriggersPeer
|
||||
{
|
||||
}
|
||||
|
||||
} // TriggersPeer
|
||||
|
||||
@@ -44,7 +44,7 @@ require_once 'classes/model/IsoLocation.php';
|
||||
class Users extends BaseUsers
|
||||
{
|
||||
|
||||
function create ($aData)
|
||||
public function create ($aData)
|
||||
{
|
||||
$con = Propel::getConnection( UsersPeer::DATABASE_NAME );
|
||||
try {
|
||||
@@ -175,7 +175,7 @@ class Users extends BaseUsers
|
||||
}
|
||||
}
|
||||
|
||||
function remove ($UsrUid)
|
||||
public function remove ($UsrUid)
|
||||
{
|
||||
$con = Propel::getConnection( UsersPeer::DATABASE_NAME );
|
||||
try {
|
||||
@@ -190,7 +190,7 @@ class Users extends BaseUsers
|
||||
}
|
||||
}
|
||||
|
||||
function loadByUsername ($sUsername)
|
||||
public function loadByUsername ($sUsername)
|
||||
{
|
||||
$c = new Criteria( 'workflow' );
|
||||
$del = DBAdapter::getStringDelimiter();
|
||||
@@ -204,7 +204,7 @@ class Users extends BaseUsers
|
||||
return $c;
|
||||
}
|
||||
|
||||
function loadByUsernameInArray ($sUsername)
|
||||
public function loadByUsernameInArray ($sUsername)
|
||||
{
|
||||
$c = $this->loadByUsername( $sUsername );
|
||||
$rs = UsersPeer::doSelectRS( $c );
|
||||
@@ -296,7 +296,7 @@ class Users extends BaseUsers
|
||||
}
|
||||
}
|
||||
|
||||
function getAvailableUsersCriteria ($sGroupUID = '')
|
||||
public function getAvailableUsersCriteria ($sGroupUID = '')
|
||||
{
|
||||
try {
|
||||
|
||||
@@ -317,7 +317,7 @@ class Users extends BaseUsers
|
||||
*
|
||||
* @return array of all active users
|
||||
*/
|
||||
function getAll ($start = null, $limit = null, $search = null)
|
||||
public function getAll ($start = null, $limit = null, $search = null)
|
||||
{
|
||||
$totalCount = 0;
|
||||
$criteria = new Criteria( 'workflow' );
|
||||
@@ -380,5 +380,4 @@ class Users extends BaseUsers
|
||||
return $aFields;
|
||||
}
|
||||
}
|
||||
// Users
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
/**
|
||||
* UsersPeer.php
|
||||
* @package workflow.engine.classes.model
|
||||
*
|
||||
*
|
||||
* ProcessMaker Open Source Edition
|
||||
* 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
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
@@ -15,13 +15,13 @@
|
||||
* 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.,
|
||||
*
|
||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
// include base peer class
|
||||
@@ -34,7 +34,7 @@
|
||||
/**
|
||||
* Skeleton subclass for performing query and update operations on the 'USERS' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
* You should add additional methods to this class to meet the
|
||||
* application requirements. This class will only be generated as
|
||||
@@ -42,6 +42,7 @@
|
||||
*
|
||||
* @package workflow.engine.classes.model
|
||||
*/
|
||||
class UsersPeer extends BaseUsersPeer {
|
||||
class UsersPeer extends BaseUsersPeer
|
||||
{
|
||||
}
|
||||
|
||||
} // UsersPeer
|
||||
|
||||
@@ -22,12 +22,12 @@ class UsersProperties extends BaseUsersProperties
|
||||
public $usrID = '';
|
||||
public $lang = 'en';
|
||||
|
||||
function __construct ()
|
||||
public function __construct ()
|
||||
{
|
||||
$this->lang = defined( 'SYS_LANG' ) ? SYS_LANG : 'en';
|
||||
}
|
||||
|
||||
function UserPropertyExists ($sUserUID)
|
||||
public function UserPropertyExists ($sUserUID)
|
||||
{
|
||||
$oUserProperty = UsersPropertiesPeer::retrieveByPk( $sUserUID );
|
||||
if (! is_null( $oUserProperty ) && is_object( $oUserProperty ) && get_class( $oUserProperty ) == 'UsersProperties') {
|
||||
@@ -436,5 +436,4 @@ class UsersProperties extends BaseUsersProperties
|
||||
return $baseUrl . $url;
|
||||
}
|
||||
}
|
||||
// UsersProperties
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
/**
|
||||
* Skeleton subclass for performing query and update operations on the 'USERS_PROPERTIES' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
* You should add additional methods to this class to meet the
|
||||
* application requirements. This class will only be generated as
|
||||
@@ -22,6 +22,7 @@
|
||||
*
|
||||
* @package workflow.engine.classes.model
|
||||
*/
|
||||
class UsersPropertiesPeer extends BaseUsersPropertiesPeer {
|
||||
class UsersPropertiesPeer extends BaseUsersPropertiesPeer
|
||||
{
|
||||
}
|
||||
|
||||
} // UsersPropertiesPeer
|
||||
|
||||
Reference in New Issue
Block a user