Blame view

src/vendor/1.2.5/Phalcon/Mvc/Model/Behavior/SoftDelete.php 518 Bytes
ef60cd4d   Administrator   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  <?php 
  
  namespace Phalcon\Mvc\Model\Behavior {
  
  	/**
  	 * Phalcon\Mvc\Model\Behavior\SoftDelete
  	 *
  	 * Instead of permanently delete a record it marks the record as
  	 * deleted changing the value of a flag column
  	 */
  	
  	class SoftDelete extends \Phalcon\Mvc\Model\Behavior implements \Phalcon\Mvc\Model\BehaviorInterface {
  
  		/**
  		 * Listens for notifications from the models manager
  		 *
  		 * @param string $type
  		 * @param \Phalcon\Mvc\ModelInterface $model
  		 */
  		public function notify($type, $model){ }
  
  	}
  }