WP Manifestindependent plugin directory
manifest / content / itineris-lottery

Itineris Lottery

Custom post type for lottery results

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/itinerisltd/itineris-lottery/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
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