Example #1
0
 /**
  * Get mailbox quota information
  *
  * @param string $folder Folder name
  *
  * @return mixed Quota info or False if not supported
  */
 public function get_quota($folder = null)
 {
     if ($this->get_capability('QUOTA') && $this->check_connection()) {
         return $this->conn->getQuota($folder);
     }
     return false;
 }
Example #2
0
 /**
  * Get mailbox quota information
  * added by Nuny
  *
  * @return mixed Quota info or False if not supported
  */
 function get_quota()
 {
     if ($this->get_capability('QUOTA')) {
         return $this->conn->getQuota();
     }
     return false;
 }