Example #1
0
	protected function _before_insert(&$data, $options) {
		parent::_before_insert($data, $options);
		$data['module'] = strtolower($data['module']);
		$data['controller'] = strtolower($data['controller']);
		$data['action'] = strtolower($data['action']);
		$data['update_time'] = $this->_getTime();
		$data['create_time'] = $this->_getTime();
		return true;
	}