本文整理汇总了PHP中member::setPhone方法的典型用法代码示例。如果您正苦于以下问题:PHP member::setPhone方法的具体用法?PHP member::setPhone怎么用?PHP member::setPhone使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类member
的用法示例。
在下文中一共展示了member::setPhone方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: testPerson
public function testPerson()
{
$member = new member();
$member->setName("Leif", "de Gracia", "Adante");
$member->setBday("aug 24, 1996");
$member->setStAddress("Zone 1-A");
//$member->setMemStatus("active");
$member->setCity("IliganCity");
$member->setProvince("Lanao del Norte");
$member->setCountry("Philippines");
$member->setZipcode("9200");
$member->setReligion("Catholic");
$member->setGender("Fab Male");
$member->setMobile("09354641546");
$member->setPhone("2239170");
$member->setFax("xxx-xxx-xxx");
$member->setEmail("dgracialeif@yahoo.com");
//echo("\n".$member->getMemStatus()."\n");
echo "\n" . $member->getName() . "\n";
echo $member->getBday() . "\n";
echo $member->getStAddress() . "\n";
echo $member->getCity() . "\n";
echo $member->getProvince() . "\n";
echo $member->getCountry() . "\n";
echo $member->getZipcode() . "\n";
echo $member->getReligion() . "\n";
echo $member->getGender() . "\n";
echo $member->getMobile() . "\n";
echo $member->getPhone() . "\n";
echo $member->getFax() . "\n";
echo $member->getEmail() . "\n";
$this->assertTrue(true);
}