25 lines
330 B
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);
|
||
|
}
|
||
|
}
|