original_string: protected function _getObjectsAllCached($cacheId, $object, $sql, $binds = null, $tags = array())
      {
          $output = array();
          $rows   = $this->_getSelectAllCached($cacheId, $sql, $binds, $tags);
  
          if ($rows) {
              $this->source->applySource($object);
  
              foreach ($rows as $row) {
                  $tmp = clone $object;
                  $tmp->exchangeArray($row);
                  $output[] = $tmp;
              }
          }
  
          return $output;
      }
code: protected function _getObjectsAllCached($cacheId, $object, $sql, $binds = null, $tags = array())
      {
          $output = array();
          $rows   = $this->_getSelectAllCached($cacheId, $sql, $binds, $tags);
  
          if ($rows) {
              $this->source->applySource($object);
  
              foreach ($rows as $row) {
                  $tmp = clone $object;
                  $tmp->exchangeArray($row);
                  $output[] = $tmp;
              }
          }
  
          return $output;
      }
code_tokens: protected function _getObjectsAllCached ( $ cacheId , $ object , $ sql , $ binds = null , $ tags = array ( ) ) { $ output = array ( ) ; $ rows = $ this -> _getSelectAllCached ( $ cacheId , $ sql , $ binds , $ tags ) ; if ( $ rows ) { $ this -> source -> applySource ( $ object ) ; foreach ( $ rows as $ row ) { $ tmp = clone $ object ; $ tmp -> exchangeArray ( $ row ) ; $ output [ ] = $ tmp ; } } return $ output ; }
docstring: Utility function for loading a complete query from cache into objects
  
  @param string $cacheId The class is prepended to this id
  @param object $object The object to put the data in
  @param mixed $sql string or \Zend_Db_Select
  @param array $binds sql paramters
  @param mixed $tags atring or array of strings
  @return array
docstring_tokens: Utility function for loading a complete query from cache into objects