示例#1
0
文件: View.php 项目: Sywooch/forums
 public static function create()
 {
     if (self::$_bdSocialShare_Helper_viewRenderer === null) {
         self::$_bdSocialShare_Helper_viewRenderer = bdSocialShare_Helper_Simulation_ViewRenderer::create();
     }
     return new bdSocialShare_Helper_Simulation_View(self::$_bdSocialShare_Helper_viewRenderer, self::$_bdSocialShare_Helper_viewRenderer->bdSocialShare_Helper_getResponse());
 }
示例#2
0
 public static function create()
 {
     if (self::$_bdSocialShare_Helper_dependencies === null) {
         self::$_bdSocialShare_Helper_dependencies = new bdSocialShare_Helper_Simulation_Dependencies();
     }
     if (self::$_bdSocialShare_Helper_request === null) {
         self::$_bdSocialShare_Helper_request = new Zend_Controller_Request_Http();
     }
     if (self::$_bdSocialShare_Helper_response === null) {
         self::$_bdSocialShare_Helper_response = new Zend_Controller_Response_Http();
     }
     return new bdSocialShare_Helper_Simulation_ViewRenderer(self::$_bdSocialShare_Helper_dependencies, self::$_bdSocialShare_Helper_response, self::$_bdSocialShare_Helper_request);
 }