function pfcContainer($type = 'File', $usememorycache = true)
 {
     pfcContainerInterface::pfcContainerInterface();
     $this->_usememorycache = $usememorycache;
     $type = strtolower($type);
     // create the concrete container instance
     require_once dirname(__FILE__) . "/containers/" . $type . ".class.php";
     $container_classname = "pfcContainer_" . $type;
     $this->_container =& new $container_classname();
 }
Пример #2
0
 function pfcContainer_Mysql()
 {
     pfcContainerInterface::pfcContainerInterface();
 }
Пример #3
0
 function pfcContainer_File()
 {
     pfcContainerInterface::pfcContainerInterface();
 }