Package::__construct PHP Method

__construct() public method

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($id = null, $proposalId = null, $productPackageId = null, $rateCardId = null, $name = null, $comments = null, $status = null, $startDateTime = null, $endDateTime = null, $lastModifiedDateTime = null)
        {
            $this->id = $id;
            $this->proposalId = $proposalId;
            $this->productPackageId = $productPackageId;
            $this->rateCardId = $rateCardId;
            $this->name = $name;
            $this->comments = $comments;
            $this->status = $status;
            $this->startDateTime = $startDateTime;
            $this->endDateTime = $endDateTime;
            $this->lastModifiedDateTime = $lastModifiedDateTime;
        }

Usage Example

 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;
 }
All Usage Examples Of Package::__construct