public function select($key)
    {
        if (is_array($key))
        {
            $this->selectedKeys = array_merge($this->selectedKeys, $key);
        } else
        {
            $this->selectedKeys[] = $key;
        }

        return $this;
    }
public function select($key)
    {
        if (is_array($key))
        {
            $this->selectedKeys = array_merge($this->selectedKeys, $key);
        } else
        {
            $this->selectedKeys[] = $key;
        }

        return $this;
    }
public function select ( $ key ) { if ( is_array ( $ key ) ) { $ this -> selectedKeys = array_merge ( $ this -> selectedKeys , $ key ) ; } else { $ this -> selectedKeys [ ] = $ key ; } return $ this ; }
Restrict the fields of the returned Avos Objects to include only the
provided keys. If this is called multiple times, then all of the keys
specified in each of the calls will be included.

@param mixed $key The name(s) of the key(s) to include. It could be
string, or an Array of string.

@return AVQuery Returns the query, so you can chain this call.
Restrict the fields of the returned Avos Objects to include only the provided keys . If this is called multiple times then all of the keys specified in each of the calls will be included .