Gdn_Upload::clear PHP Метод

clear() публичный Метод

public clear ( )
    public function clear()
    {
        $this->_MaxFileSize = self::unformatFileSize(Gdn::config('Garden.Upload.MaxFileSize', ''));
        $this->_AllowedFileExtensions = Gdn::config('Garden.Upload.AllowedFileExtensions', array());
    }

Usage Example

Пример #1
0
 /**
  *
  */
 public function clear()
 {
     parent::clear();
     $this->_AllowedFileExtensions = array('jpg', 'jpeg', 'gif', 'png', 'bmp', 'ico');
 }