예제 #1
0
파일: Session.php 프로젝트: jasmun/Noco100
 /**
  * namespaceGet() - get all variables in a namespace
  * Deprecated: Use getIterator() in IfwPsn_Vendor_Zend_Session_Namespace.
  *
  * @param string $namespace
  * @return array
  */
 public static function namespaceGet($namespace)
 {
     return parent::_namespaceGetAll($namespace);
 }
예제 #2
0
 /**
  * getIterator() - return an iteratable object for use in foreach and the like,
  * this completes the IteratorAggregate interface
  *
  * @return ArrayObject - iteratable container of the namespace contents
  */
 public function getIterator()
 {
     return new ArrayObject(parent::_namespaceGetAll($this->_namespace));
 }