<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/parameters</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 19 Jun 2013 12:07:56 GMT</pubDate>
<item>
<title>(PHP) Magento Parameters - tomle123</title>
<link>http://snipplr.com/view/70915/magento-parameters/</link>
<description><![CDATA[ <p>append this to switch to different Stores in Magento</p> ]]></description>
<pubDate>Wed, 24 Apr 2013 06:08:04 GMT</pubDate>
<guid>http://snipplr.com/view/70915/magento-parameters/</guid>
</item>
<item>
<title>(JavaScript) Template for a Javascript function with optional and mandatory arguments passed as an object collection - davidwaterston</title>
<link>http://snipplr.com/view/68920/template-for-a-javascript-function-with-optional-and-mandatory-arguments-passed-as-an-object-collection/</link>
<description><![CDATA[ <p>A simple template for a JavaScript function which allows for an arbitrary number of named arguments to be passed in. This is achieved by passing a single object as an argument with each of the 'real' arguments being a key/value pair. In this way arguments can be passed in any order and we can easily add in new arguments.

To call, simply pass in an object with the required arguments:
    myFunction ({opt1: 'cat', opt4: 'dog', opt2: 'monkey'})

Validates clean in jsLint.</p> ]]></description>
<pubDate>Mon, 03 Dec 2012 07:48:27 GMT</pubDate>
<guid>http://snipplr.com/view/68920/template-for-a-javascript-function-with-optional-and-mandatory-arguments-passed-as-an-object-collection/</guid>
</item>
<item>
<title>(JavaScript) Get URL Parameter - pmw57</title>
<link>http://snipplr.com/view/67253/get-url-parameter/</link>
<description><![CDATA[ <p>Code from https://snipt.net/geekyjohn/get-url-param/ updated so that most jslint issues are resolved, and updated the return to use a guard condition instead of a separate if statement.</p> ]]></description>
<pubDate>Wed, 19 Sep 2012 19:45:38 GMT</pubDate>
<guid>http://snipplr.com/view/67253/get-url-parameter/</guid>
</item>
<item>
<title>(PHP) Uri multiple parameters - MonsterDev</title>
<link>http://snipplr.com/view/66131/uri-multiple-parameters/</link>
<description><![CDATA[ <p>This function allow you ti have multiple parameters in your query string.
Ex : id=12&amp;name=Doe&amp;id=42&amp;nickname=Monster</p> ]]></description>
<pubDate>Sat, 14 Jul 2012 02:02:37 GMT</pubDate>
<guid>http://snipplr.com/view/66131/uri-multiple-parameters/</guid>
</item>
<item>
<title>(JavaScript) Parse URI parameters with Prototype JS - srka</title>
<link>http://snipplr.com/view/62361/parse-uri-parameters-with-prototype-js/</link>
<description><![CDATA[ <p>This will return the value of "param" form the URI. For example if you have 

www.example.com/index.html?param=some_value

it will return "some_value".

NOTE! This only works if you use Prototype JavaScript framework.</p> ]]></description>
<pubDate>Fri, 06 Jan 2012 21:03:25 GMT</pubDate>
<guid>http://snipplr.com/view/62361/parse-uri-parameters-with-prototype-js/</guid>
</item>
<item>
<title>(JavaScript) Optional function arguments/parameters by using associative array - coprolit</title>
<link>http://snipplr.com/view/62307/optional-function-argumentsparameters-by-using-associative-array/</link>
<description><![CDATA[ <p>By not being limited to provide certain arguments/parameters in right order when calling a function, makes the function more versatile and easier to extend without breaking old code (e.g. calls to the function). 
One solution is to pass an associative array holding the parameters. 
Advantage: argument order is unnecessary, each argument have a label - easier to remember.</p> ]]></description>
<pubDate>Thu, 05 Jan 2012 00:13:08 GMT</pubDate>
<guid>http://snipplr.com/view/62307/optional-function-argumentsparameters-by-using-associative-array/</guid>
</item>
<item>
<title>(PHP) Magento Create New Module - Controller Dispatch - necode</title>
<link>http://snipplr.com/view/57057/magento-create-new-module--controller-dispatch/</link>
<description><![CDATA[ <p>Create a Hello World module in the Magento system
Configure this module with routes
Create Action Controller(s) for our routes</p> ]]></description>
<pubDate>Sat, 23 Jul 2011 02:15:16 GMT</pubDate>
<guid>http://snipplr.com/view/57057/magento-create-new-module--controller-dispatch/</guid>
</item>
<item>
<title>(Bash) Shell, Bash script default parameters - mecha</title>
<link>http://snipplr.com/view/54480/shell-bash-script-default-parameters/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 27 May 2011 14:18:13 GMT</pubDate>
<guid>http://snipplr.com/view/54480/shell-bash-script-default-parameters/</guid>
</item>
<item>
<title>(JavaScript) Javascript function $_GET - CJness</title>
<link>http://snipplr.com/view/52917/javascript-function-get/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 03 May 2011 17:46:12 GMT</pubDate>
<guid>http://snipplr.com/view/52917/javascript-function-get/</guid>
</item>
<item>
<title>(ActionScript 3) Get parameters from Javascript - marzsman</title>
<link>http://snipplr.com/view/51523/get-parameters-from-javascript/</link>
<description><![CDATA[ <p>Get parameters from a flash import</p> ]]></description>
<pubDate>Mon, 04 Apr 2011 23:05:32 GMT</pubDate>
<guid>http://snipplr.com/view/51523/get-parameters-from-javascript/</guid>
</item>
<item>
<title>(JavaScript) Using params with setTimeOut - coprolit</title>
<link>http://snipplr.com/view/50827/using-params-with-settimeout/</link>
<description><![CDATA[ <p>With setTimeOut a reference to a function object cannot provide parameters for the scheduled execution of that function.
We can instead use a closure to provide parameters for the execution of a function prior to the execution of that function.</p> ]]></description>
<pubDate>Sat, 19 Mar 2011 01:38:02 GMT</pubDate>
<guid>http://snipplr.com/view/50827/using-params-with-settimeout/</guid>
</item>
<item>
<title>(JavaScript) mapping of url parameters - agdm</title>
<link>http://snipplr.com/view/49625/mapping-of-url-parameters/</link>
<description><![CDATA[ <p>given a url:
>`http://www.someurl.com/page.html?param1=foo&amp;param2=bar`  

You can use map.param1 outside of the function such as:  
>`$('#some_hidden_field').val(map.param1);`</p> ]]></description>
<pubDate>Fri, 25 Feb 2011 05:28:46 GMT</pubDate>
<guid>http://snipplr.com/view/49625/mapping-of-url-parameters/</guid>
</item>
<item>
<title>(ActionScript 3) Remove elements from an associative array - feeorin</title>
<link>http://snipplr.com/view/49388/remove-elements-from-an-associative-array/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 22 Feb 2011 10:44:23 GMT</pubDate>
<guid>http://snipplr.com/view/49388/remove-elements-from-an-associative-array/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Bug accessing FlashVars when using TLFTextField (Workaround) - adrianparr</title>
<link>http://snipplr.com/view/45079/as3-bug-accessing-flashvars-when-using-tlftextfield-workaround/</link>
<description><![CDATA[ <p>Note: This example uses Arthropod Debugger (AIR App) which can be downloaded from here http://arthropod.stopp.se/</p> ]]></description>
<pubDate>Wed, 01 Dec 2010 04:10:16 GMT</pubDate>
<guid>http://snipplr.com/view/45079/as3-bug-accessing-flashvars-when-using-tlftextfield-workaround/</guid>
</item>
<item>
<title>(PHP) Pass anonymous function (lambda) as parameter prior to PHP 5.3 - karlhorky</title>
<link>http://snipplr.com/view/44972/pass-anonymous-function-lambda-as-parameter-prior-to-php-53/</link>
<description><![CDATA[ <p>Prior to 5.3, anonymous functions (lambdas) can be achieved via the create_function PHP function. This allows for the anonymous functions to be passed as parameters to another function as well, illustrated in this example snippet.</p> ]]></description>
<pubDate>Sun, 28 Nov 2010 05:50:55 GMT</pubDate>
<guid>http://snipplr.com/view/44972/pass-anonymous-function-lambda-as-parameter-prior-to-php-53/</guid>
</item>
<item>
<title>(ActionScript 3) How to access query string arguments with AS3 - mhulse</title>
<link>http://snipplr.com/view/44852/how-to-access-query-string-arguments-with-as3/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 25 Nov 2010 15:33:05 GMT</pubDate>
<guid>http://snipplr.com/view/44852/how-to-access-query-string-arguments-with-as3/</guid>
</item>
<item>
<title>(ASP) List all Post Parameters - sikwan</title>
<link>http://snipplr.com/view/42349/list-all-post-parameters/</link>
<description><![CDATA[ <p>This function return a string with all the post parameters and their values.</p> ]]></description>
<pubDate>Fri, 15 Oct 2010 20:10:33 GMT</pubDate>
<guid>http://snipplr.com/view/42349/list-all-post-parameters/</guid>
</item>
<item>
<title>(ASP) List all Get Parameters - sikwan</title>
<link>http://snipplr.com/view/42348/list-all-get-parameters/</link>
<description><![CDATA[ <p>This function return a string with all the get parameters and their values.</p> ]]></description>
<pubDate>Fri, 15 Oct 2010 20:09:09 GMT</pubDate>
<guid>http://snipplr.com/view/42348/list-all-get-parameters/</guid>
</item>
<item>
<title>(ActionScript 3) Flash, Flex and Html to pass parameters - activetofocus</title>
<link>http://snipplr.com/view/41050/flash-flex-and-html-to-pass-parameters/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 26 Sep 2010 14:10:33 GMT</pubDate>
<guid>http://snipplr.com/view/41050/flash-flex-and-html-to-pass-parameters/</guid>
</item>
<item>
<title>(JavaScript) Default parameters - housecor</title>
<link>http://snipplr.com/view/40932/default-parameters/</link>
<description><![CDATA[ <p>This sets b to 3 if b isn\'t passed. So all params all optional.</p> ]]></description>
<pubDate>Thu, 23 Sep 2010 05:03:33 GMT</pubDate>
<guid>http://snipplr.com/view/40932/default-parameters/</guid>
</item>
</channel>
</rss>