Possible fix for issue 206
Possible fix for issue 206

Possible fix for [issue 206](https://github.com/mevdschee/php-crud-api/issues/206)

soft delete example
```php
'before'=>function(&$cmd, &$db, &$tab, &$id, &$in) { 
	if ($cmd == 'delete') {
		$cmd = 'update'; // change command to update
		foreach($in as $k => $o) {
			$in[$k]->deleted = date('Y-m-d H:i:s', time());
		}				
	}
			
},
'column_authorizer'=>function($cmd, $db ,$tab, $col) { 
	return ( ! in_array($col, array('deleted')));
},
'record_filter'=>function($cmd,$db,$tab) { 
	return array('deleted,is,null');
}
```
mvdriel/php-crud-api,mevdschee/mysql-crud-api,mvdriel/php-crud-api,Jenniferliu1272/smif_php,Jenniferliu1272/smif_php,mevdschee/mysql-crud-api,Jenniferliu1272/smif_php,mevdschee/php-crud-api,Jenniferliu1272/smif_php,Jenniferliu1272/smif_php,mevdschee/php-crud-api