protected function getOnStoreAction(array $fields)
    {
        $final = [];

        foreach ($fields as $field) {
            $action = $this->extractClassFromString($field->onStore);
            if (!empty($action)) {
                $final[] = $this->getArrayReadyString($field->name, $action);
            }
        }

        return implode(PHP_EOL, $final);
    }
protected function getOnStoreAction(array $fields)
    {
        $final = [];

        foreach ($fields as $field) {
            $action = $this->extractClassFromString($field->onStore);
            if (!empty($action)) {
                $final[] = $this->getArrayReadyString($field->name, $action);
            }
        }

        return implode(PHP_EOL, $final);
    }
protected function getOnStoreAction ( array $ fields ) { $ final = [ ] ; foreach ( $ fields as $ field ) { $ action = $ this -> extractClassFromString ( $ field -> onStore ) ; if ( ! empty ( $ action ) ) { $ final [ ] = $ this -> getArrayReadyString ( $ field -> name , $ action ) ; } } return implode ( PHP_EOL , $ final ) ; }
Gets the setter action for the given field on-store.

@param array $fields
@param string $view

@return string
Gets the setter action for the given field on - store .