mtv\models\Collection::values PHP Method

values() public method

Return specific values from all the model instances in this collection TODO: Return all values if no params are given
public values ( )
    public function values()
    {
        $keys = func_get_args();
        $ret = array();
        foreach ($this->models as $model) {
            $row = array();
            foreach ($keys as $key) {
                $row[] = $model->{$key};
            }
            $ret[] = $row;
        }
        return $ret;
    }