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

25 lines
330 B
PHP

<?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);
}
}