PHP Classes

File: src/php/Netcrash/Groupon/example/jsonexamples/sedDivision.sh

Recommend this page to a friend!
  Classes of Fernando André   Groupon API Client   src/php/Netcrash/Groupon/example/jsonexamples/sedDivision.sh   Download  
File: src/php/Netcrash/Groupon/example/jsonexamples/sedDivision.sh
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Groupon API Client
Get deal information from Groupon using its API
Author: By
Last change: Update of src/php/Netcrash/Groupon/example/jsonexamples/sedDivision.sh
Date: 11 months ago
Size: 269 bytes
 

Contents

Class file image Download
cat tDivision.json | grep -i "\[" | sed -e 's/\[\|\]\|=\|\\\|>\|"\| \+//gi' | sed 's/\([a-z]\)\([a-zA-Z0-9]*\)/\u\1\2/g' | awk ' { print "private $"$1";\n\npublic function set"$1"(\$val) { $this->"$1" = $val;}\npublic function get"$1"() { return $this->"$1"; }\n" }'