public function __construct($response, $url, $adapter)
 {
     parent::__construct($response, $url, $adapter);
     $this->_updatePageSize();
 }
Beispiel #2
0
 /**
  * __set
  *
  * If the key provided is part of the data array, then update it in the
  * data array.  Otherwise, use the default __set() behavior.
  *
  * @param mixed $key        Key of the attr being set
  * @param mixed $value      Value being set to the $key attr
  * @access public
  */
 public function __set($key, $value)
 {
     if (array_key_exists($key, $this->data)) {
         $this->_localDiff[$key] = $value;
         return $this->data[$key] = $value;
     } else {
         return parent::__set($key, $value);
     }
 }