CcPlayoutHistoryMetaData.php 814 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * Skeleton subclass for representing a row from the 'cc_playout_history_metadata' table.
  4. *
  5. *
  6. *
  7. * You should add additional methods to this class to meet the
  8. * application requirements. This class will only be generated as
  9. * long as it does not already exist in the output directory.
  10. *
  11. * @package propel.generator.airtime
  12. */
  13. class CcPlayoutHistoryMetaData extends BaseCcPlayoutHistoryMetaData {
  14. /**
  15. * Set the value of [value] column.
  16. *
  17. * @param string $v new value
  18. * @return CcPlayoutHistoryMetaData The current object (for fluent API support)
  19. */
  20. public function setDbValue($v)
  21. {
  22. //make sure the metadata isn't longer than the DB field.
  23. $v = substr($v, 0, 128);
  24. parent::setDbValue($v);
  25. return $this;
  26. } // setDbValue()
  27. } // CcPlayoutHistoryMetaData