コード例 #1
0
 /**
  * Klassenkonstruktor der die notwendigen Klassenvariablen vorbelegt.
  *
  * @param       string    $sName          HTML-Name des Controls
  * @param       string    $sContent       Aktueller Inhalt des Controls
  * @param       hash      $hOptions       Zusaetzliche Optionen fuer das Control
  */
 function __construct($sName = '', $sContent = '', $hOptions = array())
 {
     $this->plugin = new cl6Plugin_plenigo();
     cl6Plugin_plenigo::init();
     parent::__construct($sName, $sContent, $hOptions);
     // $this->config = $this->plugin->ConfigGetSet("", $this->hOptions[$this->pluginset] ? $this->hOptions[$this->pluginset] : "");
 }
コード例 #2
0
 protected function connectData()
 {
     //        $this->cache = new memcacheDriver();
     cl6Plugin_plenigo::init();
     $bDsCorresponds = false;
     $oConnectResult = $this->createConnectResultInstance($bDsCorresponds);
     $this->hDriverCapabilities['ext_published_field'] = false;
     # Treiber wertet "published" selbst aus
     $oConnectResult->setSuccess(true);
     $oConnectResult->setDSCheck(true);
     $this->initTables();
     $this->sTable = $this->getAreaConfig('table');
     return $oConnectResult;
 }