本文整理匯總了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();
}