From: Kevin Day Date: Mon, 3 Dec 2018 03:35:24 +0000 (-0600) Subject: Update: remove do_build functions from all action classes X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=87ecdfb1f29c625493d5283a18e7092c556c9375;p=koopa Update: remove do_build functions from all action classes These are too situation specific and are not likely to have an shared string structures to build. --- diff --git a/common/database/traits/database_action.php b/common/database/traits/database_action.php index c96a0b4..1166450 100644 --- a/common/database/traits/database_action.php +++ b/common/database/traits/database_action.php @@ -64,25 +64,6 @@ trait t_database_action { return c_base_return_int::s_new($this->action); } - - /** - * Perform the common build process for this trait. - * - * As an internal trait method, the caller is expected to perform any appropriate validation. - * - * @return string|null - * A string is returned on success. - * NULL is returned if there is nothing to process or there is an error. - */ - protected function p_do_build_action() { - $value = NULL; - - if (is_string($this->action)) { - //$value = c_database_string::RENAME_TO . ' (' . $this->rename_to . ')'; - } - - return $value; - } } /** @@ -134,25 +115,6 @@ trait t_database_action_property { return c_base_return_int::s_new($this->action_property); } - - /** - * Perform the common build process for this trait. - * - * As an internal trait method, the caller is expected to perform any appropriate validation. - * - * @return string|null - * A string is returned on success. - * NULL is returned if there is nothing to process or there is an error. - */ - protected function p_do_build_action_property() { - $value = NULL; - - if (is_string($this->action_property)) { - //$value = c_database_string::RENAME_TO . ' (' . $this->rename_to . ')'; - } - - return $value; - } } /**