public function getAll($name)
    {
        $data = array();
        foreach ($this->data as $record) {
            $data[] = $record[$name];
        }
        return $data;
    }
public function getAll($name)
    {
        $data = array();
        foreach ($this->data as $record) {
            $data[] = $record[$name];
        }
        return $data;
    }
public function getAll ( $ name ) { $ data = array ( ) ; foreach ( $ this -> data as $ record ) { $ data [ ] = $ record [ $ name ] ; } return $ data ; }
Return the value of field from every record in collection

@param string $name
@return array
Return the value of field from every record in collection