示例#1
0
文件: Root.php 项目: nequal/Openpear
 /**
  *
  */
 public function visit(PEAR_PackageProjector_Package $package)
 {
     $package->setPackageOption('packagedirectory', $this->getName());
 }
示例#2
0
 /**
  *
  */
 public function visit(PEAR_PackageProjector_Package $package)
 {
     $handler = PEAR_PackageProjector::singleton()->getMessageHandler();
     $handler->buildMessage(5, "Setting base install directory... {$this->dir}", true);
     $package->setPackageOption('baseinstalldir', $this->dir);
 }