示例#1
0
 /**
  * Load the tool proxy from the database.
  *
  * @param string  $id        The tool proxy id value
  *
  * @return boolean True if the tool proxy was successfully loaded
  */
 private function load($id)
 {
     $this->initialize();
     $this->id = $id;
     $ok = $this->dataConnector->loadToolProxy($this);
     if (!$ok) {
         $this->enabled = $autoEnable;
     }
     return $ok;
 }