src/Titon/Db/Behavior/SoftDeleteBehavior.php
public function softDelete($id) {
        return $this->getRepository()->update($id, [
            $this->getConfig('flagField') => true,
            $this->getConfig('deleteField') => time()
        ], [
            'before' => false,
            'after' => false
        ]);
    }
public function softDelete($id) {
        return $this->getRepository()->update($id, [
            $this->getConfig('flagField') => true,
            $this->getConfig('deleteField') => time()
        ], [
            'before' => false,
            'after' => false
        ]);
    }
public function softDelete ( $ id ) { return $ this -> getRepository ( ) -> update ( $ id , [ $ this -> getConfig ( 'flagField' ) => true , $ this -> getConfig ( 'deleteField' ) => time ( ) ] , [ 'before' => false , 'after' => false ] ) ; }
Perform a soft delete by marking a record as deleted and updating a timestamp.
Do not delete the actual record.

@param int|int[] $id
@return int
Perform a soft delete by marking a record as deleted and updating a timestamp . Do not delete the actual record .