argv. Command line parameters [3.2.2]

$request:argv

The field contains hash with command line parameters (keys: 0, 1, 2 etc) which can be usable while using parser as a standalone interpreter (in cron for example).

$request:argv.0 contains the name of processing file.



Copyright © 1997–2021 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 02.03.2011