WP Manifestindependent plugin directory
manifest / content / itineris-lottery

Itineris Lottery

Custom post type for lottery results

by Itineris Limited · github.com/itinerisltd/itineris-lottery · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/itinerisltd/itineris-lottery/archive/refs/heads/master.zip

From the readme

Itineris Lottery Custom post type for lottery results - Minimum Requirements - Installation - CSV Importer - Encoding - Default Transformer: 4-column - Custom Transformer - Public API - Rules - Initializing Repositories - Getting Terms(Draw, Prize, Ticket) - Getting Results - Entities\Result - Expectations - Capabilities - Code Style Minimum Requirements - PHP v7.2 - WordPress v4.9.5 Installation CSV Importer Encoding Preferred encoding is UTF-8. Non UTF-8 characters will either be converted or stripped. Default Transformer: 4-column - The first row must be the headers(draw,prize,ticket,winner) - Rows must contain draw,prize,ticket - Rows without draw,prize,ticket will be ignored. You should double check with the exporter whether these rows are bugs - winner defaults to Anonymous if not given. See: example.csv Custom Transformer A transformer turns a single CSV row into a CSV\Record. Define custom transformers when clients refuse to export in 4-column format. 1. Read the comments in TransformerInterface 1. Read the expected string formats of CSV\Record::constructor 1. Implement TransformerInterface 1. Register the custom transformer Examples

Read the full README on GitHub →