partkeepr

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

commit aeb219e08a80849593c76fc5feae0c5431daabe0
parent e63b1260cabe107d37930fcea526825402ce41d6
Author: Felicitus <felicitus@felicitus.org>
Date:   Mon,  2 Jan 2012 00:00:22 +0100

Implemented missing getter for storage locations

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

diff --git a/src/backend/de/RaumZeitLabor/PartKeepr/Part/Part.php b/src/backend/de/RaumZeitLabor/PartKeepr/Part/Part.php @@ -298,6 +298,14 @@ class Part extends BaseEntity implements Serializable, Deserializable { $this->storageLocation = $storageLocation; } + /** + * Returns the storage location for this part + * @return \de\RaumZeitLabor\PartKeepr\StorageLocation\StorageLocation $storageLocation The storage location + */ + public function getStorageLocation () { + return $this->storageLocation; + } + /** * Sets the footprint for this part * @param \de\RaumZeitLabor\PartKeepr\Footprint\Footprint $footprint The footprint to set