email = $email; $this->date = $date; $this->name = $name; $this->site = $site; } public function GetName() { return $this->name; } public function GetMail() { return "email."\"".">Отправить e-mail ".$this->name.""; } public function GetDate() { $temp = strtotime($this->date); $temp = date("F d, Y", $temp); return $temp; } public function GetSite() { return "site."\">"; } public function &getPersonData() { $personArray; $personArray['FIO'] = $this->name; $personArray['Site'] = $this->site; $personArray['mail'] = $this->email; $personArray['Date'] = $this->date; return $personArray; } } ?> GetMail()."
"; echo $kurenkov->GetName()."
"; echo $kurenkov->GetDate()."
"; echo $kurenkov->GetSite()."
"; //смотри код страницы(!) $personData = $kurenkov->getPersonData(); echo ""; foreach ($personData as $key => $value) { echo ""; } echo "
".$value."
"; ?>