This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace FoursquareModule\Controller; | |
use FoursquareModule\Controller\Shared as SharedController; | |
class Index extends SharedController | |
{ | |
public function indexAction() | |
{ | |
return $this->render('FoursquareModule:index:index.html.php'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- extend our base template at ./app/view/base.html.php --> | |
<?php $view->extend('::base.html.php'); ?> | |
<!-- inject some content into our include_css slot, which is defined in the base template --> | |
<?php $view['slots']->start('include_css') ?> | |
<link rel="stylesheet" href="<?php echo $view['assets']->getUrl('foursquare/css/index.css') ?>"/> | |
<?php $view['slots']->stop(); ?> | |
<!-- inject some content into our include_js_body slot, which is defined in the base template --> | |
<?php $view['slots']->start('include_js_body'); ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var map = null, | |
latitude = null, | |
longitude = null, | |
infoWindow = null; | |
function initialize() { | |
var latlng = null; | |
var myOptions = { | |
mapTypeId:google.maps.MapTypeId.ROADMAP |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace FoursquareModule\Classes; | |
class ApiHandler | |
{ | |
protected $secret; | |
protected $key; | |
protected $cache; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$config = array(); | |
$config['foursquare'] = array( | |
'secret' => '[REPLACE ME]', | |
'key' => '[REPLACE ME]' | |
); | |
return $config; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$comments[] = array( | |
'title' => (string) $entry->title, | |
'link' => (string) $entry->link | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$this->matchRoute(str_replace( | |
$this->_router->getContext()->getBaseUrl(), | |
'', | |
$this->_router->generate($this->_options['404RouteName']) | |
)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "ppi/ppi", | |
"description": "The PPI Framework - A meta-framework built using Symfony2/ZendFramework2 and Doctrine2", | |
"homepage": "http://www.ppi.io", | |
"license": "MIT", | |
"keywords": ["framework"], | |
"type": "library", | |
"authors": [ | |
{ | |
"name": "Paul Dragoonis", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"repositories": [ | |
{ | |
"type": "package", | |
"package": { | |
"name": "ppi/zendframework", | |
"version": "2.0.0beta5", | |
"dist": { | |
"url": "http://packages.zendframework.com/releases/ZendFramework-2.0.0beta5/ZendFramework-2.0.0beta5-minimal.zip", | |
"type": "zip" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "ppi/ppi", | |
"description": "The PPI Framework - A meta-framework built using Symfony2/ZendFramework2 and Doctrine2", | |
"homepage": "http://www.ppi.io", | |
"license": "MIT", | |
"keywords": ["framework"], | |
"type": "library", | |
"authors": [ | |
{ | |
"name": "Paul Dragoonis", |