Skip to content

Instantly share code, notes, and snippets.

@ubermuda
Created October 21, 2008 16:02
Show Gist options
  • Save ubermuda/18337 to your computer and use it in GitHub Desktop.
Save ubermuda/18337 to your computer and use it in GitHub Desktop.
<?php
/**
* network actions.
*
* @package 1510801
* @subpackage network
* @author Your name here
* @version SVN: $Id: actions.class.php 9301 2008-05-27 01:08:46Z dwhittle $
*/
class networkActions extends sfActions
{
/**
* Executes index action
*
* @param sfRequest $request A request object
*/
public function executeIndex($request)
{
$this->dealers = $this->getRoute()->getObjects();
}
}
# network
network:
url: /network
class: sfPropelRoute
options: { model: zdDealer, list: dealers, type: list }
param: { module: network, action: index }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment