Contact.php 330 B

12345678910111213141516171819202122232425
  1. <?php
  2. class Contact extends CActiveRecord
  3. {
  4. /**
  5. * @var integer ID of this record
  6. * @soap
  7. */
  8. public $id;
  9. /**
  10. * @var string name
  11. * @soap
  12. */
  13. public $name;
  14. /**
  15. * @var string phone number
  16. * @soap
  17. */
  18. public $phone;
  19. public static function model($className=__CLASS__)
  20. {
  21. return parent::model($className);
  22. }
  23. }