codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
<?php class Domain { private $accountId; private $name; private $created; public function getAccountId() { return $this->id; } public function getName() { return $this->name; } public function getCreated() { return $this->created; } } $domain = new Domain(); if (!empty($hosting = $domain->getHosting())) { $id = $hosting->getId(); } ?>
Private
[
?
]
Run code
Submit