コード例 #1
0
ファイル: Map.class.php プロジェクト: Superbeest/Core
 /**
  * Replaces the entire contents of this collection by the given collection
  * @param \System\iCollection\iCollection The collection to replace the current one with
  */
 public function exchangeCollection(\System\Collection\iCollection $input)
 {
     $this->data = $input->getArrayCopy();
 }
コード例 #2
0
ファイル: Cookie.class.php プロジェクト: Superbeest/Core
 /**
  * Replaces the entire contents of this collection by the given collection
  * @param \System\Collection\iCollection The collection to replace the current one with
  */
 public final function exchangeCollection(\System\Collection\iCollection $input)
 {
     $_COOKIE[SITE_IDENTIFIER] = $input->getArrayCopy();
 }
コード例 #3
0
ファイル: Memcache.class.php プロジェクト: Superbeest/Core
 /**
  * Replaces the entire contents of this collection by the given collection
  * @param \System\Collection\iCollection The collection to replace the current one with
  */
 public final function exchangeCollection(\System\Collection\iCollection $input)
 {
     $this->exchangeArray($input->getArrayCopy());
 }
コード例 #4
0
ファイル: Session.class.php プロジェクト: Superbeest/Core
 /**
  * Replaces the entire contents of this collection by the given collection
  * @param \System\Collection\iCollection The collection to replace the current one with
  */
 public final function exchangeCollection(\System\Collection\iCollection $input)
 {
     $_SESSION = $input->getArrayCopy();
 }