-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from nguyenanhung/develop
Update Project at Mon Mar 27 15:23:51 +07 2023
- Loading branch information
Showing
6 changed files
with
44 additions
and
22 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
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 |
---|---|---|
|
@@ -19,15 +19,16 @@ | |
*/ | ||
class BaseHelper | ||
{ | ||
const VERSION = '1.3.4'; | ||
const LAST_MODIFIED = '2023-03-23'; | ||
const VERSION = '1.3.5'; | ||
const LAST_MODIFIED = '2023-03-27'; | ||
const PROJECT_NAME = 'CodeIgniter - Basic Helper'; | ||
const AUTHOR_NAME = 'Hung Nguyen'; | ||
const AUTHOR_FULL_NAME = 'Hung Nguyen'; | ||
const AUTHOR_EMAIL = '[email protected]'; | ||
const AUTHOR_WEB = 'https://nguyenanhung.com'; | ||
const AUTHOR_BLOG = 'https://blog.nguyenanhung.com'; | ||
const GITHUB_URL = 'https://github.com/nguyenanhung/codeigniter-basic-helper'; | ||
const GITHUB_ISSUES_URL = 'https://github.com/nguyenanhung/codeigniter-basic-helper/issues'; | ||
const PACKAGES_URL = 'https://packagist.org/packages/nguyenanhung/codeigniter-basic-helper'; | ||
|
||
public function getVersion() | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
/** | ||
* Project codeigniter-basic-helper | ||
* Created by PhpStorm | ||
* User: 713uk13m <[email protected]> | ||
* Copyright: 713uk13m <[email protected]> | ||
* Date: 27/03/2023 | ||
* Time: 15:12 | ||
*/ | ||
|
||
namespace nguyenanhung\CodeIgniter\BasicHelper; | ||
|
||
class HelperException extends \Exception | ||
{ | ||
/** | ||
* @throws \nguyenanhung\CodeIgniter\BasicHelper\HelperException | ||
*/ | ||
public function __construct($message = null, $code = 0) | ||
{ | ||
if (!$message) { | ||
throw new $this('Unknown ' . get_class($this)); | ||
} | ||
$error_message = $message . ' - If you believe this is a codebase or framework bug, please report it and let us know here: ' . BaseHelper::GITHUB_ISSUES_URL . ' - Codebase will be improved by your contributions. Thank you!'; | ||
parent::__construct($error_message, $code); | ||
} | ||
} |
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
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