Esempio n. 1
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->containerClass = 'Dialog';
     $this->postmethod = 'async';
     $this->buttons = array();
     $this->callbackSuccess = NULL;
     $this->callbackFailure = NULL;
     $this->yuiloader()->yuiRequire("connection");
 }
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->containerClass = 'PhocoaDialog';
     $this->moduleView = NULL;
     $this->deferModuleViewLoading = false;
     $this->cacheModuleView = false;
     $this->inline = false;
     $this->yuiloader()->addModule('phocoaDialog', 'js', NULL, WFWebApplication::webDirPath(WFWebApplication::WWW_DIR_FRAMEWORK) . '/js/yahoo-phocoa-min.js', array('connection', 'container', 'dragdrop', 'selector'), NULL, NULL, NULL);
     $this->yuiloader()->yuiRequire("phocoaDialog");
 }