예제 #1
0
파일: Base.php 프로젝트: lerre/framework
 /**
  * @param   array   $options
  * @param   object  $joinDependency
  * @param   array   $bindVars
  * @return  string  
  */
 protected function _selectLimitedIdsList($options, $joinDependency, $bindVars)
 {
     $result = $this->connection->selectAll($this->_constructFinderSqlForAssocLimiting($options, $joinDependency, $bindVars), "{$this->_className} Load IDs For Limited Eager Loading");
     $ids = array();
     foreach ($result as $row) {
         $ids[] = $this->connection->quote($row[$this->primaryKey()]);
     }
     return join(', ', $ids);
 }