本文整理汇总了PHP中sfGuardGroupPeer::getTableMap方法的典型用法代码示例。如果您正苦于以下问题:PHP sfGuardGroupPeer::getTableMap方法的具体用法?PHP sfGuardGroupPeer::getTableMap怎么用?PHP sfGuardGroupPeer::getTableMap使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类sfGuardGroupPeer
的用法示例。
在下文中一共展示了sfGuardGroupPeer::getTableMap方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getPhpNameMap
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;
}
示例2: executeView
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();
}
示例3: executeView
/**
*
* 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();
}