PageRenderTime 42ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/models/related_post.php

https://github.com/felixding/LonelyThinker
PHP | 29 lines | 8 code | 0 blank | 21 comment | 0 complexity | ab5c694f37e698179602f9a0be48da30 MD5 | raw file
Possible License(s): GPL-2.0
  1. <?php
  2. /* SVN FILE: $Id: related_post.php 41 2009-08-04 13:12:50Z $ */
  3. /**
  4. * Short description for file.
  5. *
  6. * Long description for file
  7. *
  8. * PHP versions 5
  9. *
  10. * Licensed under The BSD License
  11. * Redistributions of files must retain the above copyright notice.
  12. *
  13. * @filesource
  14. * @copyright Copyright 2007-2009, Felix Ding (http://dingyu.me)
  15. * @link http://lonelythinker.org Project LonelyThinker
  16. * @package LonelyThinker
  17. * @author $LastChangedBy: $
  18. * @version $Revision: 41 $
  19. * @modifiedby $LastChangedBy: $
  20. * @lastmodified $Date: 2009-08-04 21:12:50 +0800 (Tue, 04 Aug 2009) $
  21. * @license http://www.opensource.org/licenses/bsd-license.php The BSD License
  22. */
  23. class RelatedPost extends AppModel
  24. {
  25. var $name = 'RelatedPost';
  26. var $belongsTo = array('Post');
  27. var $hasMany = array('PostsTag');
  28. }
  29. ?>