CustomFieldsData.php 961 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. /**
  3. *
  4. * PHP Pro Bid $Id$ ZRV4ap0dm8YTIJ3igakzQCA/TZT5c1ueZVq7mFgDF/8=
  5. *
  6. * @link http://www.phpprobid.com
  7. * @copyright Copyright (c) 2014 Online Ventures Software LTD & CodeCube SRL
  8. * @license http://www.phpprobid.com/license Commercial License
  9. *
  10. * @version 7.0
  11. */
  12. /**
  13. * custom fields data table
  14. */
  15. namespace Ppb\Db\Table;
  16. use Cube\Db\Table\AbstractTable;
  17. class CustomFieldsData extends AbstractTable
  18. {
  19. /**
  20. *
  21. * table name
  22. *
  23. * @var string
  24. */
  25. protected $_name = 'custom_fields_data';
  26. /**
  27. *
  28. * primary key
  29. *
  30. * @var string
  31. */
  32. protected $_primary = 'id';
  33. /**
  34. *
  35. * reference map
  36. *
  37. * @var array
  38. */
  39. protected $_referenceMap = array(
  40. 'Field' => array(
  41. self::COLUMNS => 'field_id',
  42. self::REF_TABLE_CLASS => '\Ppb\Db\Table\CustomFields',
  43. self::REF_COLUMNS => 'id',
  44. ),
  45. );
  46. }