Esempio n. 1
0
 /**
 		Creates a newly allocated dictionary by placing in it the keys and values
 		contained in another given dictionary.
 		\param $aDict
 		\returns RTDictionary
 */
 public function initWithDictionary(RTDictionary $aDict)
 {
     $this->init();
     $this->_data = $aDict->phpArray();
     return $this;
 }
Esempio n. 2
0
 /**
 		Sets the contents of the receiving dictionary to the entries in a given
 		dictionary.
 		\param $aDictionary
 */
 public function setDictionary(RTDictionary $aDictionary)
 {
     $this->_data = $aDictionary->phpArray();
 }