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