a:33:{s:7:"license";s:1083:"The MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Software Copyright (c) 2010 Paul Merchant
";s:6:"readme";s:751:"getResourceField

A modx snippet to get a field or a TV value from a given resource. TV values can
be processed unprocessed. 

@ author Paul Merchant
@ author Shaun McCormick
@ copyright 2011 Paul Merchant
@ version 1.0.3 - August 8, 2011
@ MIT License

OPTIONS
id - The resource ID
field - (Opt) The field or template variable name. Defaults to pagetitle
isTV - (Opt) Set as true to return a raw template variable
processTV - (Opt) Set as true to return a rendered template variable
default - (Opt) The value returned if no field value is found

Exmaple1: [[getResourceField? &id=`123`]]
Example2: [[getResourceField? &id=`[[UltimateParent?]]` &field=`myTV` &isTV=`1`]]
Example3: [[getResourceField? &id=`[[*parent]]` &field=`myTV` &processTV=`1`]]

";s:9:"signature";s:25:"getresourcefield-1.0.3-pl";s:13:"initialConfig";s:15:"[object Object]";s:4:"text";s:8:"Continue";s:2:"id";s:19:"package-install-btn";s:6:"hidden";s:5:"false";s:7:"handler";s:594:"function (va){var g=Ext.getCmp('modx-package-grid');if(!g)return false;var r=g.menu.record.data?g.menu.record.data:g.menu.record;var topic='/workspace/package/install/'+r.signature+'/';this.loadConsole(Ext.getBody(),topic);va=va||{};Ext.apply(va,{action:'install',signature:r.signature,register:'mgr',topic:topic});var c=this.console;MODx.Ajax.request({url:MODx.config.connectors_url+'workspace/packages.php',params:va,listeners:{'success':{fn:function(){this.activate();Ext.getCmp('modx-package-grid').getStore().load();},scope:this},'failure':{fn:function(){this.activate();},scope:this}}});}";s:5:"scope";s:15:"[object Object]";s:8:"minWidth";s:2:"75";s:10:"removeMode";s:9:"container";s:10:"hideParent";s:4:"true";s:6:"events";s:15:"[object Object]";s:7:"ownerCt";s:15:"[object Object]";s:9:"container";s:15:"[object Object]";s:8:"rendered";s:4:"true";s:8:"template";s:15:"[object Object]";s:5:"btnEl";s:15:"[object Object]";s:4:"mons";s:15:"[object Object]";s:2:"el";s:15:"[object Object]";s:4:"icon";s:0:"";s:7:"iconCls";s:0:"";s:8:"boxReady";s:4:"true";s:8:"lastSize";s:15:"[object Object]";s:11:"useSetClass";s:4:"true";s:6:"oldCls";s:12:"x-btn-noicon";s:3:"doc";s:15:"[object Object]";s:19:"monitoringMouseOver";s:4:"true";s:6:"action";s:7:"install";s:8:"register";s:3:"mgr";s:5:"topic";s:53:"/workspace/package/install/getresourcefield-1.0.3-pl/";s:12:"HTTP_MODAUTH";s:52:"modx50070689613930.81461117_1500d52994d0580.32602758";s:14:"package_action";i:0;}