]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/helper/class_BaseHelper.php
Conflicting getField() in BaseHelper vs. BaseFrameworkSystem fixed
[shipsimu.git] / inc / classes / main / helper / class_BaseHelper.php
index a40193d3d3adec9a7040f0a6eca61947b048af9e..cc829fd0ea053d00dab82c363d9deee3f77f9c6d 100644 (file)
@@ -79,7 +79,7 @@ class BaseHelper extends BaseFrameworkSystem {
         */
        public function assignField ($fieldName) {
                // Get the value from value instance
-               $fieldValue = $this->getField($fieldName);
+               $fieldValue = $this->getValueField($fieldName);
 
                // Assign it with a template variable
                $this->getTemplateInstance()->assignVariable("block_" . $fieldName, $fieldValue);
@@ -96,7 +96,7 @@ class BaseHelper extends BaseFrameworkSystem {
         */
        public function assignFieldWithFilter ($fieldName, $filterMethod) {
                // Get the value
-               $fieldValue = $this->getField($fieldName);
+               $fieldValue = $this->getValueField($fieldName);
 
                // Now filter it through the value through the filter method
                $filteredValue = call_user_func_array(array($this, "doFilter" . ucfirst($filterMethod)), array($fieldValue));
@@ -145,7 +145,7 @@ class BaseHelper extends BaseFrameworkSystem {
         * @param       $fieldName              Name of the field we shall fetch
         * @return      $fieldValue             Value from field
         */
-       public function getField ($fieldName) {
+       public function getValueField ($fieldName) {
                // Get the field value
                $fieldValue = call_user_func_array(array($this->valueInstance, 'getField'), array($fieldName));