-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
23 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* A class that handles API requests | ||
* | ||
* @package Uploady | ||
* @version 1.5.3 | ||
* @version 3.0.x | ||
* @author fariscode <[email protected]> | ||
* @license MIT | ||
* @link https://github.com/farisc0de/Uploady | ||
|
@@ -239,6 +239,13 @@ public function respondBadRequest($message): void | |
} | ||
|
||
|
||
/** | ||
* Get validation errors | ||
* | ||
* @param array $data | ||
* @param boolean $is_new | ||
* @return array | ||
*/ | ||
public function getValidationErrors(array $data, bool $is_new = true): array | ||
{ | ||
$errors = []; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* Class to Handle User Auth | ||
* | ||
* @package Uploady | ||
* @version 1.5.3 | ||
* @version 3.0.x | ||
* @author fariscode <[email protected]> | ||
* @license MIT | ||
* @link https://github.com/farisc0de/Uploady | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* Simple Class that handles data collection | ||
* | ||
* @package Uploady | ||
* @version 1.5.3 | ||
* @version 3.0.x | ||
* @author fariscode <[email protected]> | ||
* @license MIT | ||
* @link https://github.com/farisc0de/Uploady | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* a class that handles the database and PDO functions | ||
* | ||
* @package Uploady | ||
* @version 1.5.3 | ||
* @version 3.0.x | ||
* @author fariscode <[email protected]> | ||
* @license MIT | ||
* @link https://github.com/farisc0de/Uploady | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* A class that handles error and exception | ||
* | ||
* @package Uploady | ||
* @version 1.5.3 | ||
* @version 3.0.x | ||
* @author fariscode <[email protected]> | ||
* @license MIT | ||
* @link https://github.com/farisc0de/Uploady | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* Class to Handle adding files to the database | ||
* | ||
* @package Uploady | ||
* @version 1.5.3 | ||
* @version 3.0.x | ||
* @author fariscode <[email protected]> | ||
* @license MIT | ||
* @link https://github.com/farisc0de/Uploady | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* Simple Class that handles localization | ||
* | ||
* @package Uploady | ||
* @version 1.5.3 | ||
* @version 3.0.x | ||
* @author fariscode <[email protected]> | ||
* @license MIT | ||
* @link https://github.com/farisc0de/Uploady | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
* Simple Class that handles emails created using PHPMailer | ||
* | ||
* @package Uploady | ||
* @version 1.5.3 | ||
* @version 3.0.x | ||
* @author fariscode <[email protected]> | ||
* @license MIT | ||
* @link https://github.com/farisc0de/Uploady | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* A class that handles Uploady Custom Pages | ||
* | ||
* @package Uploady | ||
* @version 1.5.3 | ||
* @version 3.0.x | ||
* @author fariscode <[email protected]> | ||
* @license MIT | ||
* @link https://github.com/farisc0de/Uploady | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* A class that handles Page Translation | ||
* | ||
* @package Uploady | ||
* @version 1.5.3 | ||
* @version 3.0.x | ||
* @author fariscode <[email protected]> | ||
* @license MIT | ||
* @link https://github.com/farisc0de/Uploady | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* A class that handles Reset Password Requsts | ||
* | ||
* @package Uploady | ||
* @version 1.5.3 | ||
* @version 3.0.x | ||
* @author fariscode <[email protected]> | ||
* @license MIT | ||
* @link https://github.com/farisc0de/Uploady | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* Simple Class that handles user roles | ||
* | ||
* @package Uploady | ||
* @version 1.5.3 | ||
* @version 3.0.x | ||
* @author fariscode <[email protected]> | ||
* @license MIT | ||
* @link https://github.com/farisc0de/Uploady | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* A class that handles software settings | ||
* | ||
* @package Uploady | ||
* @version 1.5.3 | ||
* @version 3.0.x | ||
* @author fariscode <[email protected]> | ||
* @license MIT | ||
* @link https://github.com/farisc0de/Uploady | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* Simple Template Engine to handle layouts | ||
* | ||
* @package Uploady | ||
* @version 1.5.3 | ||
* @version 3.0.x | ||
* @author fariscode <[email protected]> | ||
* @license MIT | ||
* @link https://github.com/farisc0de/Uploady | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* A Class to Handle User Data | ||
* | ||
* @package Uploady | ||
* @version 1.5.3 | ||
* @version 3.0.x | ||
* @author fariscode <[email protected]> | ||
* @license MIT | ||
* @link https://github.com/farisc0de/Uploady | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* A class that has some utilities functions | ||
* | ||
* @package Uploady | ||
* @version 1.5.3 | ||
* @version 3.0.x | ||
* @author fariscode <[email protected]> | ||
* @license MIT | ||
* @link https://github.com/farisc0de/Uploady | ||
|