src/Model/Behavior/TypographicBehavior.php
public function process(ArrayAccess $data) {
		foreach ($this->_config['fields'] as $field) {
			if (!empty($data[$field])) {
				$data[$field] = $this->_prepareInput($data[$field]);
			}
		}
	}
public function process(ArrayAccess $data) {
		foreach ($this->_config['fields'] as $field) {
			if (!empty($data[$field])) {
				$data[$field] = $this->_prepareInput($data[$field]);
			}
		}
	}
public function process ( ArrayAccess $ data ) { foreach ( $ this -> _config [ 'fields' ] as $ field ) { if ( ! empty ( $ data [ $ field ] ) ) { $ data [ $ field ] = $ this -> _prepareInput ( $ data [ $ field ] ) ; } } }
Run before a model is saved

@param \ArrayAccess $data
@return void
Run before a model is saved