Example #1
0
 /**
  * Set the friendly URL archive by forcing it into the URI.
  * @return bool|string
  */
 public function setArchiveUri()
 {
     if (!$this->parentResource) {
         $this->parentResource = $this->object->getOne('Parent');
         if (!$this->parentResource) {
             return false;
         }
     }
     return $this->object->setArchiveUri();
 }