Пример #1
0
 public function render()
 {
     $this->GetParents($this->_directParentId);
     $this->searchRule = "[PId] = '" . $this->_directParentId . "'";
     $this->searchRuleBindValues = "";
     $this->clearSearchRule = true;
     return parent::render();
 }
 public function render()
 {
     if (!$this->dataPanel->count()) {
         $this->dataPanel = new Panel($this->configDataPanel(), "", $this);
     }
     if (!$this->dataPanel->count()) {
         return "";
     }
     return parent::render();
 }
 public function render()
 {
     $this->triggerCheckers();
     $result = parent::render();
     if (!$this->totalRecords) {
         return "";
     }
     if ($this->readAccess) {
         if (Openbiz::$app->allowUserAccess($this->readAccess)) {
             return $result;
         }
     } else {
         return $result;
     }
 }
Пример #4
0
 public function render()
 {
     $result = parent::render();
     if ($result) {
         $script = "<script>setTimeout(\"Openbiz.CallFunction('" . $this->objectName . ".AutoShowTutorial({$this->encodedURL})')\",1000);</script>";
         $result .= $script;
     }
     return $result;
 }
Пример #5
0
 /**
  * Render this form
  *
  * @return @return string - HTML text of this form's read mode
  */
 public function render()
 {
     $viewobj = $this->getViewObject();
     $viewobj->setFormState($this->objectName, 'visited', 1);
     return parent::render();
 }