*/
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);
*/
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));
* @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));