Exemplo n.º 1
0
 /**
  * Returns the namespace for the base class.
  *
  * @return string
  * @see Propel\Generator\Builder\Om.AbstractOMBuilder::getNamespace()
  */
 public function getNamespace()
 {
     if ($namespace = parent::getNamespace()) {
         return $namespace . '\\Base';
     }
     return 'Base';
 }
Exemplo n.º 2
0
 public function getNamespace()
 {
     if ($namespace = parent::getNamespace()) {
         if ($this->getGeneratorConfig() && ($omns = $this->getGeneratorConfig()->getBuildProperty('namespaceOm'))) {
             return $namespace . '\\' . $omns;
         } else {
             return $namespace;
         }
     }
 }