• MODX.com

    748 downloads

getMIGXtv 1.0.1-pl

getMIGXtv 1.0.1-pl is an extra by jpforsyth, first released on 2016-11-04.

Package Description

getMIGXtv 1.0.1====================================- Specifying custom $placeholder name  now works as intended.getMIGXtv 1.0.0====================================- This is a fresh extra. Nothing to report.

Usage/Installation Instructions

/*** Package:     getMIGXtv** Version:     1.0.1** Author:      Jim Forsyth (jpforsyth.com)** Copyright:   2016 Jim Forsyth** License:     MIT**** Description:** A MODx snippet for retrieving a MIGX TV value as a PHP array from a given resource.**** Options:** id:          The resource ID (int)** name:        The template variable name (string)** key:         (Optional) The key to sort array by. Defaults to 'MIGX_id' (string)** placeholder: (Optional) The placeholder name. Defaults to 'migx' (string)**** Example (inside a snippet):** $modx->runSnippet('getMIGXtv',array(**  'id' => 123,**  'name' => `MY_MIGX_TV`**  'key' => `MIGX_id`,**  'placeholder' => `results`** ));** $results = $modx->getPlaceholder('results');***/

Details

Developer(s)
jpforsyth
Released
2016-11-22
First seen
2016-11-04
License
MIT
Supported databases
MySQL
Minimum MODX Requirement
2

getMIGXtv 1.0.1-pl Releases

Vendor Signature Released on
MODX.com 1.0.1-pl 2016-11-22 (2 years ago)
MODX.com 1.0.0-pl 2016-03-21 (2 years ago)