PageRenderTime 44ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/oiserver/lib/model/Pack.php

http://openirudi.googlecode.com/
PHP | 17 lines | 9 code | 1 blank | 7 comment | 1 complexity | 5f95d33de13f100fbde095982ad91445 MD5 | raw file
Possible License(s): LGPL-2.1, AGPL-3.0
  1. <?php
  2. /**
  3. * Subclass for representing a row from the 'pack' table.
  4. *
  5. *
  6. *
  7. * @package lib.model
  8. */
  9. class Pack extends BasePack {
  10. function __toString() {
  11. if($this->name)
  12. return $this->name;
  13. else
  14. return 'NULL';
  15. }
  16. }