Пример #1
0
 /**
  * Set the name of this node for the provided locale
  * @param string $locale Code of the locale
  * @param string $name Name of the node in the provided locale
  * @param string $context Name of the context (menu, breadcrumb, title, ...)
  * @return null
  */
 public function setName($locale, $name, $context = null)
 {
     if ($this->getName($locale, $context) == $name) {
         return;
     } else {
         parent::setName($locale, $name, $context);
     }
 }