]> Kevux Git Server - koopa/commit
Update: use late static binding for class constants
authorKevin Day <thekevinday@gmail.com>
Thu, 31 Aug 2017 23:07:34 +0000 (18:07 -0500)
committerKevin Day <thekevinday@gmail.com>
Thu, 31 Aug 2017 23:07:34 +0000 (18:07 -0500)
commit5b82eaa43252ccc0dfa277f31949929a4c4bc994
tree6f3f87a4b473a5fbb6953627aff233615fe57ad6
parentda46b213f038a94aba33f984fdf11daccfd553ac
Update: use late static binding for class constants

This is done to encourage the use of classes that extend a parent class that only need to change a single constant.
This is done by replacing self:: with static:: for class constants.

see: http://php.net/manual/en/language.oop5.late-static-bindings.php
28 files changed:
common/base/classes/base_charset.php
common/base/classes/base_cookie.php
common/base/classes/base_error.php
common/base/classes/base_error_messages_english.php
common/base/classes/base_error_messages_japanese.php
common/base/classes/base_http.php
common/base/classes/base_http_status.php
common/base/classes/base_log.php
common/base/classes/base_markup.php
common/base/classes/base_mime.php
common/base/classes/base_path.php
common/base/classes/base_rfc_string.php
common/base/classes/base_roles.php
common/base/classes/base_session.php
common/base/classes/base_utf8.php
common/standard/classes/standard_index.php
common/standard/classes/standard_menu.php
common/standard/classes/standard_path.php
common/standard/classes/standard_path_exception.php
common/standard/classes/standard_paths.php
common/standard/menus/menu_breadcrumbs.php
common/standard/menus/menu_utility.php
common/standard/paths/u/user_login.php
common/standard/paths/u/user_settings.php
common/theme/classes/theme_form.php
common/theme/classes/theme_html.php
common/theme/classes/theme_markup.php
documentation/class_self_references.txt [new file with mode: 0644]