示例#1
0
文件: Route.php 项目: Andyyang1981/pi
 /**
  * {@inheritDoc}
  */
 public function setNamespace($meta = '')
 {
     if (is_string($meta)) {
         $namespace = $meta;
     } else {
         $namespace = $meta['section'];
     }
     return parent::setNamespace($namespace);
 }
示例#2
0
文件: Type.php 项目: Andyyang1981/pi
 /**
  * {@inheritDoc}
  */
 public function setNamespace($meta = '')
 {
     return parent::setNamespace('');
 }
示例#3
0
 /**
  * {@inheritDoc}
  */
 public function clear($namespace = '')
 {
     parent::clear('');
     return $this;
 }
示例#4
0
文件: I18n.php 项目: Andyyang1981/pi
 /**
  * {@inheritDoc}
  */
 public function setNamespace($meta = '')
 {
     return parent::setNamespace($this->namespaceCustom);
 }
示例#5
0
 /**
  * {@inheritDoc}
  */
 public function clear($namespace = '')
 {
     $namespace = $namespace ?: 'system';
     parent::clear($namespace);
     return $this;
 }