Example #1
0
 /**
  * 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();
 }
Example #2
0
 /**
  * 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();
 }
Example #3
0
 /**
  * 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());
 }
Example #4
0
 /**
  * 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();
 }