public static function getPhpNameMap() { if (self::$phpNameMap === null) { $map = sfGuardGroupPeer::getTableMap(); $columns = $map->getColumns(); $nameMap = array(); foreach ($columns as $column) { $nameMap[$column->getPhpName()] = $column->getColumnName(); } self::$phpNameMap = $nameMap; } return self::$phpNameMap; }
public function executeView(sfWebRequest $request) { //used to make soap requests to node VirtAgent $this->node_id = $request->getParameter('id'); // used to get parent id component (extjs) $this->containerId = $request->getParameter('containerId'); // used to build node grid dynamic $this->node_tableMap = EtvaNodePeer::getTableMap(); //maybe deprecated //used to build form to create new server with default values $this->server_form = new EtvaServerForm(); // used to build server grid dynamic $this->server_tableMap = EtvaServerPeer::getTableMap(); $this->sfGuardGroup_tableMap = sfGuardGroupPeer::getTableMap(); }
/** * * shows server main panel view Extjs template * */ public function executeView(sfWebRequest $request) { $this->server_tableMap = EtvaServerPeer::getTableMap(); $this->sfGuardGroup_tableMap = sfGuardGroupPeer::getTableMap(); //$this->network_tableMap = EtvaNetworkPeer::getTableMap(); }