diff -r 5b37998e522e -r 162c1de6545a web/lib/Zend/Service/DeveloperGarden/Request/BaseUserService/ChangeQuotaPool.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/Zend/Service/DeveloperGarden/Request/BaseUserService/ChangeQuotaPool.php Fri Mar 11 15:05:35 2011 +0100 @@ -0,0 +1,103 @@ += 0 to set new user quota + * + * @var integer + */ + public $quotaMax = 0; + + /** + * constructor give them the module id + * + * @param string $moduleId + * @param integer $quotaMax + * @return Zend_Service_Developergarde_Request_ChangeQuotaPool + */ + public function __construct($moduleId = null, $quotaMax = 0) + { + $this->setModuleId($moduleId) + ->setQuotaMax($quotaMax); + } + + /** + * sets a new moduleId + * + * @param integer $moduleId + * @return Zend_Service_Developergarde_Request_ChangeQuotaPool + */ + public function setModuleId($moduleId = null) + { + $this->moduleId = $moduleId; + return $this; + } + + /** + * returns the moduleId + * + * @return string + */ + public function getModuleId() + { + return $this->moduleId; + } + + /** + * sets new QuotaMax value + * + * @param integer $quotaMax + * @return Zend_Service_Developergarde_Request_ChangeQuotaPool + */ + public function setQuotaMax($quotaMax = 0) + { + $this->quotaMax = $quotaMax; + return $this; + } + + /** + * returns the quotaMax value + * + * @return integer + */ + public function getQuotaMax() + { + return $this->quotaMax; + } +}