Merge pull request #4616 from spekulatius/patch-1

Update 01_Extensions.md
This commit is contained in:
Damian Mooyman 2015-09-21 10:40:13 +12:00
commit a13d7e2b53

View File

@ -23,7 +23,7 @@ the [api:Extension] class for non DataObject subclasses (such as [api:Controller
public function SayHi() {
// $this->owner refers to the original instance. In this case a `Member`.
return "Hi ". $this->owner->Name;
return "Hi " . $this->owner->Name;
}
}
@ -80,7 +80,7 @@ $has_one etc.
public function SayHi() {
// $this->owner refers to the original instance. In this case a `Member`.
return "Hi ". $this->owner->Name;
return "Hi " . $this->owner->Name;
}
}