public function RelativeLink() { $this->createLocalIfNeeded(); return $this->CloudStatus == 'Live' ? $this->getCloudURL() : parent::RelativeLink(); }