Exemplo n.º 1
0
 /**
  * @brief Loads a webpage based on its path in the source website.
  * @param string $path The path to the webpage.
  * @returns SweteWebpage
  */
 public function loadWebpageBySrcPath($path)
 {
     $path = SweteTools::normalizeUrl($path);
     return SweteWebpage::loadByURL($this->_rec->val('website_id'), $path, $this->getDestinationLanguage());
 }