/** * Return array of status message replies * * @param void * @return array */ function getReplies() { if ($this->replies === false) { $this->replies = StatusUpdates::findByParent($this); } // if return $this->replies; }