Blame view

src/vendor/1.2.5/Phalcon/Mvc/Model/Behavior/Timestampable.php 527 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\Timestampable
  	 *
  	 * Allows to automatically update a model’s attribute saving the
  	 * datetime when a record is created or updated
  	 */
  	
  	class Timestampable 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){ }
  
  	}
  }