configure() публичный Метод

Configure an XML mapping.
public configure ( $filename )
Пример #1
0
 /**
  * Load SqlMap mapping configuration.
  * @param unknown_type $node
  */
 protected function loadSqlMappingFiles($node)
 {
     if (strlen($resource = (string) $node['resource']) > 0) {
         if (strpos($resource, '${') !== false) {
             $resource = $this->replaceProperties($resource);
         }
         $mapping = new TSqlMapXmlMappingConfiguration($this);
         $filename = $this->getAbsoluteFilePath($this->_configFile, $resource);
         $mapping->configure($filename);
     }
 }