]> Kevux Git Server - koopa/commit
Progress: further work on user view page, documentation changes, more global constant...
authorKevin Day <thekevinday@gmail.com>
Sat, 27 May 2017 02:05:41 +0000 (21:05 -0500)
committerKevin Day <thekevinday@gmail.com>
Sat, 27 May 2017 02:05:41 +0000 (21:05 -0500)
commita3c188c7f2fec463e465abf52dcf0339865e696a
tree4f709cd5736729b9275561d2cb7086f270064bbd
parent6efcbe2c1abea0ca3d50b6eac7b50ba49207ae1e
Progress: further work on user view page, documentation changes, more global constants, try to get more consistent return types

One of the downsides of my design is the complex return type handling.
The code because easier when tests do not have to be performed.

I want to provide a way to return a class as a default but provide a way to say that there was no value stored.
Instead of returning the NULL return type class, return the preferred class with an error flag set to "not defined".

This simplifies the code, especially some of the code used on the user view page.
18 files changed:
common/base/classes/base_address.php
common/base/classes/base_database.php
common/base/classes/base_defaults_global.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_menu.php
common/base/classes/base_path.php
common/base/classes/base_return.php
common/base/classes/base_session.php
common/standard/classes/standard_path.php
common/standard/menus/menu_utility.php
common/standard/paths/u/dashboard.php
common/standard/paths/u/ja/user_view.php
common/standard/paths/u/user_view.php
common/theme/classes/theme_html.php
program/reservation/reservation_defaults_global.php