本文整理匯總了PHP中app\models\Person::getMobile方法的典型用法代碼示例。如果您正苦於以下問題:PHP Person::getMobile方法的具體用法?PHP Person::getMobile怎麽用?PHP Person::getMobile使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類app\models\Person
的用法示例。
在下文中一共展示了Person::getMobile方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: testSetPerson
public function testSetPerson()
{
$person = new Person();
$person->setFname("Ailene");
$person->setLname("Pequit");
$person->setMname("Pagaran");
$person->setBirthdate("1995-02-09");
$person->setStreetAddress("P-6");
$person->setCity("Cabadbaran City");
$person->setProvince("Agusan del Norte");
$person->setCountry("Philippines");
$person->setZipcode("8600");
$person->setReligion("Aglipayan");
$person->setGender("Female");
$person->setMobile("09184194833");
$person->setPhone("None");
echo "\n" . $person->getFullName() . "\n";
echo $person->getFname() . "\n";
echo $person->getMname() . "\n";
echo $person->getLname() . "\n";
echo $person->getBirthdate() . "\n";
echo $person->getFullAddress() . "\n";
echo $person->getStreetAddress() . "\n";
echo $person->getCity() . "\n";
echo $person->getProvince() . "\n";
echo $person->getCountry() . "\n";
echo $person->getZipcode() . "\n";
echo $person->getReligion() . "\n";
echo $person->getGender() . "\n";
echo $person->getMobile() . "\n";
echo $person->getPhone() . "\n";
$this->assertTrue(true);
}