| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 | 
							- <?php
 
- /**
 
-  * 
 
-  * PHP Pro Bid $Id$ pEHl4GG201MmEykQg4FthisdSYlav1qn1D1+VLZTk9M=
 
-  * 
 
-  * @link        http://www.phpprobid.com
 
-  * @copyright   Copyright (c) 2014 Online Ventures Software LTD & CodeCube SRL
 
-  * @license     http://www.phpprobid.com/license Commercial License
 
-  * 
 
-  * @version     7.0
 
-  */
 
- /**
 
-  * transactions table
 
-  */
 
- namespace Ppb\Db\Table;
 
- use Cube\Db\Table\AbstractTable;
 
- class Transactions extends AbstractTable
 
- {
 
-     /**
 
-      *
 
-      * table name
 
-      * 
 
-      * @var string
 
-      */
 
-     protected $_name = 'transactions';
 
-     /**
 
-      *
 
-      * primary key
 
-      * 
 
-      * @var string
 
-      */
 
-     protected $_primary = 'id';
 
-     /**
 
-      *
 
-      * class name for row
 
-      *
 
-      * @var string
 
-      */
 
-     protected $_rowClass = '\Ppb\Db\Table\Row\Transaction';
 
-     /**
 
-      * class name for rowset
 
-      *
 
-      * @var string
 
-      */
 
-     protected $_rowsetClass = '\Ppb\Db\Table\Rowset\Transactions';
 
-     /**
 
-      *
 
-      * reference map
 
-      * 
 
-      * @var array
 
-      */
 
-     protected $_referenceMap = array(
 
-         'User' => array(
 
-             self::COLUMNS => 'user_id',
 
-             self::REF_TABLE_CLASS => '\Ppb\Db\Table\Users',
 
-             self::REF_COLUMNS => 'id',
 
-         ),
 
-         'Sale' => array(
 
-             self::COLUMNS => 'sale_id',
 
-             self::REF_TABLE_CLASS => '\Ppb\Db\Table\Sales',
 
-             self::REF_COLUMNS => 'id',
 
-         ),
 
-         'PaymentGateway' => array(
 
-             self::COLUMNS => 'gateway_id',
 
-             self::REF_TABLE_CLASS => '\Ppb\Db\Table\PaymentGateways',
 
-             self::REF_COLUMNS => 'id',
 
-         ),
 
-     );
 
- }
 
 
  |