Missing Documentation: Model Service - $_type_classes
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá 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
Read the Model Service documentation at services/model/building-your-own.html, especially the Typed Columns and Composite Types sections. Check how $_type_classes and the ChannelPreferences example relate to custom composite types, then document the property and explain its use. Done means the guide clearly describes how custom composite types are configured.
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 to describe $_type_classes property for the Model Service. The use case I have found which demonstrates this can be found in the Site Model
Note: While writing this issue, I noticed that this model now does not actually use a custom
$_type_classesfor any of its properties:ExpressionEngine\Service\Model\Column\CustomType
I am assuming that this change happened between version 5 and 6.
Reasoning
The documentation does describe Typed Columns but it does not describe that Composite Types can be custom.
Example of a custom composite type: ChannelPreferences
Additional context
I assume that the Site Model no longer utilizes these custom $_type_classes because information stored in these variables is only accessible once the model has been loaded, therefore these property values cannot be used when filtering for models. Is this correct?
Also, I have not looked deeper into this, but the Site Model was the only model I was familiar with that used this type of Variable Column. My next question is whether or not the uses of $_type_classes are being phased out in a later version?
- 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
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ExpressionEngine/ExpressionEngine-User-Guide
-
Inconsistent code block spacingĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
-
registration form docsĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 55/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
-
Clarify autosave interval valueĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 55/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 46/100
Tất cả issue của ExpressionEngine/ExpressionEngine-User-Guide
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Textualize/textual#6753 · 1 bình luận ·
-
area: core area: docs good first issue help wanted lane: free-agent priority: P3 roadmap size: XS type: task
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
arminazimi/seaworthy#701 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Use registered media types for HDF5 and NetCDF, and stop claiming media_type must be IANA-registeredĐang mởdocumentation metadata
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
Maintainer thường phản hồi trong vòng 1 ngày
-
doc-qa/index.html: data: favicon is blocked by img-src 'none' (one CSP console error per load)Đang mởbug good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
elhajahmadj/offline-emergency-library#156 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
7.2 user documentation (HelpHub)
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
WordPress/Documentation-Issue-Tracker#2559 · 1 bình luận ·