forked from bcit-ci/CodeIgniter
-
Notifications
You must be signed in to change notification settings - Fork 0
Google URL Shortener
Ramkumar Sankarpandi edited this page Sep 3, 2013
·
4 revisions
$apiKey = "<< Your Google API Key >>"; //load the library $this->load->library('GoogleURL'); //initialize with the google API Key $this->googleurl->_initialize($apiKey); //for shortening echo $this->googleurl->shorten('http://www.google.com'); //for expanding echo $this->googleurl->expand('http://googl.com/FgFHGf');
- Original author: Derek Jones
- How to extend helpers: See User Guide
- Modified by: Thomas Stapleton (id, classes, selected country option and all option)
- Modified by: Bradley De-Lar (construct, setLayout example)