1
0
www.mikescher.com/demos/phonebook/protected/models/Contact.php

25 lines
330 B
PHP
Raw Normal View History

2014-05-12 10:11:20 +02:00
<?php
class Contact extends CActiveRecord
{
/**
* @var integer ID of this record
* @soap
*/
public $id;
/**
* @var string name
* @soap
*/
public $name;
/**
* @var string phone number
* @soap
*/
public $phone;
public static function model($className=__CLASS__)
{
return parent::model($className);
}
}