partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit a747389e9620894218b2a2e29fb6882f4d75191c
parent cfdc0485e714713e9089bc4f909d6adc11e8ff28
Author: Felicitus <felicitus@felicitus.org>
Date:   Thu, 22 Dec 2011 06:47:09 +0100

Added some documentation to the part manufacturer

Diffstat:
Msrc/backend/de/RaumZeitLabor/PartKeepr/Part/PartManufacturer.php | 22++++++++++++++++++++++
1 file changed, 22 insertions(+), 0 deletions(-)

diff --git a/src/backend/de/RaumZeitLabor/PartKeepr/Part/PartManufacturer.php b/src/backend/de/RaumZeitLabor/PartKeepr/Part/PartManufacturer.php @@ -30,26 +30,48 @@ class PartManufacturer extends BaseEntity implements Serializable, Deserializabl */ private $partNumber; + /** + * Sets the part which belongs to this manufacturer entry + * @param Part $part + */ public function setPart (Part $part) { $this->part = $part; } + /** + * Returns the part which belongs to this manufacturer entry + */ public function getPart () { return $this->part; } + /** + * Sets the manufacturer which belongs to this entry + * @param Manufacturer $manufacturer + */ public function setManufacturer (Manufacturer $manufacturer) { $this->manufacturer = $manufacturer; } + /** + * Returns the manufacturer which belongs to this part + */ public function getManufacturer () { return $this->manufacturer; } + /** + * Sets the manufacturer-specific part number + * @param string $partNumber + */ public function setPartNumber ($partNumber) { $this->partNumber = $partNumber; } + /** + * Returns the manufacturer-specific part number + * @return string The part number + */ public function getPartNumber () { return $this->partNumber; }