Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / Db / TableGateway / Feature / AbstractFeature.php
blob4d9503e503b34f26aa0369a3236a224c02f00cc0
1 <?php
2 /**
3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
10 namespace Zend\Db\TableGateway\Feature;
12 use Zend\Db\TableGateway\AbstractTableGateway;
13 use Zend\Db\TableGateway\Exception;
15 abstract class AbstractFeature extends AbstractTableGateway
18 /**
19 * @var AbstractTableGateway
21 protected $tableGateway = null;
23 protected $sharedData = array();
25 public function getName()
27 return get_class($this);
30 public function setTableGateway(AbstractTableGateway $tableGateway)
32 $this->tableGateway = $tableGateway;
35 public function initialize()
37 throw new Exception\RuntimeException('This method is not intended to be called on this object.');
40 public function getMagicMethodSpecifications()
42 return array();
47 public function preInitialize();
48 public function postInitialize();
49 public function preSelect(Select $select);
50 public function postSelect(StatementInterface $statement, ResultInterface $result, ResultSetInterface $resultSet);
51 public function preInsert(Insert $insert);
52 public function postInsert(StatementInterface $statement, ResultInterface $result);
53 public function preUpdate(Update $update);
54 public function postUpdate(StatementInterface $statement, ResultInterface $result);
55 public function preDelete(Delete $delete);
56 public function postDelete(StatementInterface $statement, ResultInterface $result);