public __construct ( $id = null, $proposalId = null, $productPackageId = null, $rateCardId = null, $name = null, $comments = null, $status = null, $startDateTime = null, $endDateTime = null, $lastModifiedDateTime = null ) |
public function __construct($release, $address, $desc, $doc) { parent::__construct($release, $address, $desc, $doc); $this->installed = $this->installed(); $this->localPath = $this->localPath(); $this->updateAvailable = $this->updateAvailable(); $this->deleteLink = '&delete=' . $this->name; }
public function __construct($release, $address, $desc, $doc) { parent::__construct($release, $address, $desc, $doc); $this->installed = true; $this->localPath = dirname(dirname(dirname(__DIR__))); $this->name = $this::CORE_NAME; $this->updateAvailable = $this->updateAvailable(); }
/** * Constructor. * * @param string|array $baseUrls Base asset URLs * @param string $version The package version * @param string $format The format used to apply the version */ public function __construct($baseUrls = array(), $version = null, $format = null) { parent::__construct($version, $format); if (!is_array($baseUrls)) { $baseUrls = (array) $baseUrls; } $this->baseUrls = array(); foreach ($baseUrls as $baseUrl) { $this->baseUrls[] = rtrim($baseUrl, '/'); } }
/** * Constructor. * * @param string $basePath The base path to be prepended to relative paths * @param string $version The package version * @param string $format The format used to apply the version */ public function __construct($basePath = null, $version = null, $format = null) { parent::__construct($version, $format); if (!$basePath) { $this->basePath = '/'; } else { if ('/' != $basePath[0]) { $basePath = '/' . $basePath; } $this->basePath = rtrim($basePath, '/') . '/'; } }
/** * Contsructor opens the file * @param location of the file * @param distribution the package is built for (used on version numbers) */ function __construct($location = null, $distribution = '') { parent::__construct(); if (!isset($this->location)) { return false; } else { $this->location = $location; $this->distribution = $distribution; if (is_resource($location) && get_resource_type($location) == 'stream') { $this->handle = $location; } else { $this->handle = @fopen($this->location, 'r'); if (!$this->handle) { throw new RuntimeException('Opening file: ' . $location . " failed\n"); } } } }
/** * Creates a new root package. * * @param RootPackageFile $packageFile The package file. * @param string $installPath The absolute install path. */ public function __construct(RootPackageFile $packageFile, $installPath) { parent::__construct($packageFile, $installPath); }
/** * Initialiser le paquet. * @param Webos $webos Le webos. * @param LocalRepository $repository Le depot sur lequel est le paquet. * @param string $name Le nom du paquet. */ public function __construct(\lib\Webos $webos, LocalRepository $repository, $name) { //On appelle le constructeur du parent parent::__construct($webos, $repository, $name); $this->source = $repository->getSource() . '/packages/' . $name . '.xml'; }
/** * Constructs a new dependency object * @param string name of the package * @param string constraint constraint to the version * @param string version of the package */ function __construct($name = '', $constraint = '', $version = '') { parent::__construct($name, $version); $this->constraint = $constraint; $this->debug('New dependency object: ' . $this->name . '' . $this->constraint . ' ' . $this->version); }
public function __construct(Repository $repository, \lib\entities\PackageMetadata $metadata, $files) { parent::__construct($repository, $metadata); $this->files = $files; }