Lithron.LContent
[ class tree: Lithron.LContent ] [ index: Lithron.LContent ] [ all elements ]

Source for file LContent.php

Documentation is available at LContent.php

  1. <?php
  2. require_once 'l_content/om/BaseLContent.php';
  3.  
  4. /**
  5. * Skeleton subclass for representing a row from the 'l_content' table.
  6. *
  7. * Content Table
  8. *
  9. * This class was autogenerated by Propel on:
  10. *
  11. * Sun Apr 9 02:56:17 2006
  12. *
  13. * You should add additional methods to this class to meet the
  14. * application requirements. This class will only be generated as
  15. * long as it does not already exist in the output directory.
  16. *
  17. * @package Lithron.LContent
  18. * @subpackage Propel
  19. */
  20. class LContent extends BaseLContent
  21. {
  22. public $ExtraData;
  23. /**
  24. * for backward compatibility
  25. */
  26. public function getMetaData()
  27. {
  28. $_check= $this->getLMetaData('lcontent');
  29. if (empty ($_check))
  30. {
  31. Prado :: trace("Old meta data returned", "Lithron.LContent");
  32. return parent :: getMetaData();
  33. }
  34. else
  35. {
  36. return $_check;
  37. }
  38. }
  39.  
  40. public function setLMetaData($metaData)
  41. {
  42. $core= Lithron :: singleton("LMetaDataCore");
  43. $core->updateMetaData($this->getPrimaryKey(), $metaData);
  44. }
  45.  
  46. public function getLMetaData($ownerId)
  47. {
  48. $core= Lithron :: singleton("LMetaDataCore");
  49. $_md= $core->getMetaData($ownerId, self :: getId());
  50. $_sdo= serialize($_md);
  51. return $_sdo;
  52. }
  53. } // LContent

Documentation generated on Tue, 20 Jun 2006 05:15:02 +0200 by phpDocumentor 1.3.0RC4