Esempio n. 1
0
 /**
  * Formats the Component Path
  * @param \Jazz\Application\ISettings $settings
  * @param string $component
  * @return string
  */
 protected function formatComponentPath(\Jazz\Application\ISettings $settings, $component)
 {
     $ret = $settings->getPathComponent() . $settings->formatComponentName($component) . '/';
     if ($this->getPath() === null) {
         $ret .= ($settings->getDirComponent() ? $settings->getDirComponent() . '/' : null) . $this->getNamespace();
     } else {
         $ret .= $this->getPath();
     }
     return $ret;
 }