1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <?php
- /**
- *
- * PHP Pro Bid $Id$ Nz3Tz2sMs25Q1mXlp28//dTe1bcmWSgKR2rKzMPhtCI=
- *
- * @link http://www.phpprobid.com
- * @copyright Copyright (c) 2017 Online Ventures Software & CodeCube SRL
- * @license http://www.phpprobid.com/license Commercial License
- *
- * @version 7.9 [rev.7.9.01]
- */
- namespace Ppb\Db\Table;
- use Cube\Db\Table\AbstractTable;
- class Users extends AbstractTable
- {
- /**
- *
- * table name
- *
- * @var string
- */
- protected $_name = 'users';
- /**
- *
- * primary key
- *
- * @var string
- */
- protected $_primary = 'id';
- /**
- *
- * class name for row
- *
- * @var string
- */
- protected $_rowClass = '\Ppb\Db\Table\Row\User';
- /**
- * class name for rowset
- *
- * @var string
- */
- protected $_rowsetClass = '\Ppb\Db\Table\Rowset\Users';
- /**
- *
- * reference map
- *
- * @var array
- */
- protected $_referenceMap = array(
- 'StoreSubscription' => array(
- self::COLUMNS => 'store_subscription_id',
- self::REF_TABLE_CLASS => '\Ppb\Db\Table\StoresSubscriptions',
- self::REF_COLUMNS => 'id',
- ),
- 'StoreCategory' => array(
- self::COLUMNS => 'store_category_id',
- self::REF_TABLE_CLASS => '\Ppb\Db\Table\Categories',
- self::REF_COLUMNS => 'id',
- ),
- );
- /**
- *
- * dependent tables
- *
- * @var array
- */
- protected $_dependentTables = array(
- '\Ppb\Db\Table\Accounting',
- '\Ppb\Db\Table\Bids',
- '\Ppb\Db\Table\BlockedUsers',
- '\Ppb\Db\Table\Categories',
- '\Ppb\Db\Table\Listings',
- '\Ppb\Db\Table\ListingsWatch',
- '\Ppb\Db\Table\Offers',
- '\Ppb\Db\Table\PaymentGatewaysSettings',
- '\Ppb\Db\Table\Sales',
- '\Ppb\Db\Table\Transactions',
- '\Ppb\Db\Table\UsersAddressBook',
- '\Ppb\Db\Table\Messaging',
- '\Ppb\Db\Table\Vouchers',
- '\Ppb\Db\Table\FavoriteStores',
- '\Ppb\Db\Table\NewslettersRecipients',
- '\Ppb\Db\Table\UsersStatistics',
- '\Ppb\Db\Table\NewslettersSubscribers',
- );
- }
|