Arreglo de codeStyle
This commit is contained in:
@@ -306,7 +306,8 @@ class DataBaseConnection
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getDbEngines () {
|
||||
public function getDbEngines ()
|
||||
{
|
||||
if (!class_exists('dbConnections')) {
|
||||
G::LoadClass('dbConnections');
|
||||
}
|
||||
@@ -324,7 +325,8 @@ class DataBaseConnection
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function validateProUid ($pro_uid) {
|
||||
public function validateProUid ($pro_uid)
|
||||
{
|
||||
$pro_uid = trim($pro_uid);
|
||||
if ($pro_uid == '') {
|
||||
throw (new \Exception("The project with prj_uid: '', does not exist."));
|
||||
@@ -346,7 +348,8 @@ class DataBaseConnection
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function validateDbsUid ($dbs_uid, $pro_uid) {
|
||||
public function validateDbsUid ($dbs_uid, $pro_uid)
|
||||
{
|
||||
$dbs_uid = trim($dbs_uid);
|
||||
if ($dbs_uid == '') {
|
||||
throw (new \Exception("The database connection with dbs_uid: '', does not exist."));
|
||||
|
||||
@@ -174,7 +174,8 @@ class Event
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function validateProUid ($pro_uid) {
|
||||
public function validateProUid ($pro_uid)
|
||||
{
|
||||
$pro_uid = trim($pro_uid);
|
||||
if ($pro_uid == '') {
|
||||
throw (new \Exception("The project with prj_uid: '', does not exist."));
|
||||
@@ -195,7 +196,8 @@ class Event
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function validateEvnUid ($evn_uid) {
|
||||
public function validateEvnUid ($evn_uid)
|
||||
{
|
||||
$evn_uid = trim($evn_uid);
|
||||
if ($evn_uid == '') {
|
||||
throw (new \Exception("The event with evn_uid: '', does not exist."));
|
||||
@@ -216,7 +218,8 @@ class Event
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function validateTasUid($tas_uid) {
|
||||
public function validateTasUid($tas_uid)
|
||||
{
|
||||
$tas_uid = trim($tas_uid);
|
||||
if ($tas_uid == '') {
|
||||
throw (new \Exception("The task with tas_uid: '', does not exist."));
|
||||
@@ -237,7 +240,8 @@ class Event
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function validateTriUid($tri_uid) {
|
||||
public function validateTriUid($tri_uid)
|
||||
{
|
||||
$tri_uid = trim($tri_uid);
|
||||
if ($tri_uid == '') {
|
||||
throw (new \Exception("The trigger with tri_uid: '', does not exist."));
|
||||
|
||||
@@ -304,7 +304,8 @@ class ProcessPermissions
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function validateProUid ($pro_uid) {
|
||||
public function validateProUid ($pro_uid)
|
||||
{
|
||||
$pro_uid = trim($pro_uid);
|
||||
if ($pro_uid == '') {
|
||||
throw (new \Exception("The project with prj_uid: '', does not exist."));
|
||||
@@ -325,7 +326,8 @@ class ProcessPermissions
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function validateOpUid ($op_uid) {
|
||||
public function validateOpUid ($op_uid)
|
||||
{
|
||||
$op_uid = trim($op_uid);
|
||||
if ($op_uid == '') {
|
||||
throw (new \Exception("The process permission with op_uid: '', does not exist."));
|
||||
@@ -346,7 +348,8 @@ class ProcessPermissions
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function validateUsrUid($usr_uid) {
|
||||
public function validateUsrUid($usr_uid)
|
||||
{
|
||||
$usr_uid = trim($usr_uid);
|
||||
if ($usr_uid == '') {
|
||||
throw (new \Exception("The user with usr_uid: '', does not exist."));
|
||||
@@ -367,7 +370,8 @@ class ProcessPermissions
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function validateGrpUid($grp_uid) {
|
||||
public function validateGrpUid($grp_uid)
|
||||
{
|
||||
$grp_uid = trim($grp_uid);
|
||||
if ($grp_uid == '') {
|
||||
throw (new \Exception("The group with usr_uid: '', does not exist."));
|
||||
@@ -388,7 +392,8 @@ class ProcessPermissions
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function validateTasUid($tas_uid) {
|
||||
public function validateTasUid($tas_uid)
|
||||
{
|
||||
$tas_uid = trim($tas_uid);
|
||||
if ($tas_uid == '') {
|
||||
throw (new \Exception("The task with tas_uid: '', does not exist."));
|
||||
@@ -409,7 +414,8 @@ class ProcessPermissions
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function validateDynUid($dyn_uid) {
|
||||
public function validateDynUid($dyn_uid)
|
||||
{
|
||||
$dyn_uid = trim($dyn_uid);
|
||||
if ($dyn_uid == '') {
|
||||
throw (new \Exception("The dynaform with dynaforms: '', does not exist."));
|
||||
@@ -430,7 +436,8 @@ class ProcessPermissions
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function validateInpUid($inp_uid) {
|
||||
public function validateInpUid($inp_uid)
|
||||
{
|
||||
$inp_uid = trim($inp_uid);
|
||||
if ($inp_uid == '') {
|
||||
throw (new \Exception("The input with inputs: '', does not exist."));
|
||||
@@ -451,7 +458,8 @@ class ProcessPermissions
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function validateOutUid($out_uid) {
|
||||
public function validateOutUid($out_uid)
|
||||
{
|
||||
$out_uid = trim($out_uid);
|
||||
if ($out_uid == '') {
|
||||
throw (new \Exception("The output with outputs: '', does not exist."));
|
||||
|
||||
Reference in New Issue
Block a user