Missing Documentation: Model Service - getValues()

Đang mở
#229 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
55/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
php
Lĩnh vực
documentation

Hướng nghiên cứu

The issue targets the Model Service guide at Services > Model Service > Building your own Models and links to getValues() in system/ee/ExpressionEngine/Library/Data/Entity.php. Read the method and nearby Model Methods documentation, then add an entry describing its returned values. Done means the guide documents getValues() with an accurate description and return type.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Suggested Change

Add documentation in the Model Service for the getValues() method.

Reasoning

I believe this method would be a valuable addition to Model Methods. (Services > Model Service > Building your own Models)

Additional context

Sample Documentation

getValues()

Get an associative key-value pair array that defines a model's properties and values.

Parameter Type Description
Returns Mixed An array of model properties and values
Ngôn ngữ chính
CSS
Star
22
Fork
79
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ExpressionEngine/ExpressionEngine-User-Guide

Tất cả issue của ExpressionEngine/ExpressionEngine-User-Guide

Issue tương tự

Thêm issue về Documentation

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.