[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Zend Framework 4 * 5 * LICENSE 6 * 7 * This source file is subject to the new BSD license that is bundled 8 * with this package in the file LICENSE.txt. 9 * It is also available through the world-wide-web at this URL: 10 * http://framework.zend.com/license/new-bsd 11 * If you did not receive a copy of the license and are unable to 12 * obtain it through the world-wide-web, please send an email 13 * to [email protected] so we can send you a copy immediately. 14 * 15 * @category Zend 16 * @package Zend_Service 17 * @subpackage DeveloperGarden 18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id$ 21 */ 22 23 /** 24 * @category Zend 25 * @package Zend_Service 26 * @subpackage DeveloperGarden 27 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 28 * @author Marco Kaiser 29 * @license http://framework.zend.com/license/new-bsd New BSD License 30 */ 31 class Zend_Service_DeveloperGarden_Request_BaseUserService_ChangeQuotaPool 32 { 33 /** 34 * string module id 35 * 36 * @var string 37 */ 38 public $moduleId = null; 39 40 /** 41 * integer >= 0 to set new user quota 42 * 43 * @var integer 44 */ 45 public $quotaMax = 0; 46 47 /** 48 * constructor give them the module id 49 * 50 * @param string $moduleId 51 * @param integer $quotaMax 52 * @return Zend_Service_Developergarde_Request_ChangeQuotaPool 53 */ 54 public function __construct($moduleId = null, $quotaMax = 0) 55 { 56 $this->setModuleId($moduleId) 57 ->setQuotaMax($quotaMax); 58 } 59 60 /** 61 * sets a new moduleId 62 * 63 * @param integer $moduleId 64 * @return Zend_Service_Developergarde_Request_ChangeQuotaPool 65 */ 66 public function setModuleId($moduleId = null) 67 { 68 $this->moduleId = $moduleId; 69 return $this; 70 } 71 72 /** 73 * returns the moduleId 74 * 75 * @return string 76 */ 77 public function getModuleId() 78 { 79 return $this->moduleId; 80 } 81 82 /** 83 * sets new QuotaMax value 84 * 85 * @param integer $quotaMax 86 * @return Zend_Service_Developergarde_Request_ChangeQuotaPool 87 */ 88 public function setQuotaMax($quotaMax = 0) 89 { 90 $this->quotaMax = $quotaMax; 91 return $this; 92 } 93 94 /** 95 * returns the quotaMax value 96 * 97 * @return integer 98 */ 99 public function getQuotaMax() 100 { 101 return $this->quotaMax; 102 } 103 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |