Changeset 5885 in subversion
- Timestamp:
- Feb 15, 2012 7:44:02 AM (15 months ago)
- Location:
- branches/devel-framework/roundcubemail/program/include
- Files:
-
- 3 edited
-
rcube_imap.php (modified) (4 diffs)
-
rcube_message.php (modified) (1 diff)
-
rcube_mime.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/devel-framework/roundcubemail/program/include/rcube_imap.php
r5881 r5885 542 542 } 543 543 544 return $this-> messagecount($folder, $mode, $force, $status);544 return $this->countmessages($folder, $mode, $force, $status); 545 545 } 546 546 … … 558 558 * @see rcube_imap::count() 559 559 */ 560 protected function messagecount($folder, $mode='ALL', $force=false, $status=true)560 protected function countmessages($folder, $mode='ALL', $force=false, $status=true) 561 561 { 562 562 $mode = strtoupper($mode); … … 1071 1071 1072 1072 // refresh message count -> will update 1073 $this-> messagecount($folder, 'ALL', true);1073 $this->countmessages($folder, 'ALL', true); 1074 1074 1075 1075 $result = 0; … … 3833 3833 } 3834 3834 3835 } // end class rcube_imap 3835 3836 /** 3837 * Deprecated methods (to be removed) 3838 */ 3839 3840 public function decode_address_list($input, $max = null, $decode = true, $fallback = null) 3841 { 3842 return rcube_mime::decode_address_list($input, $max, $decode, $fallback); 3843 } 3844 3845 public function decode_header($input, $fallback = null) 3846 { 3847 return rcube_mime::decode_mime_string((string)$input, $fallback); 3848 } 3849 3850 public static function decode_mime_string($input, $fallback = null) 3851 { 3852 return rcube_mime::decode_mime_string($input, $fallback); 3853 } 3854 3855 public function mime_decode($input, $encoding = '7bit') 3856 { 3857 return rcube_mime::decode($input, $encoding); 3858 } 3859 3860 public static function explode_header_string($separator, $str, $remove_comments = false) 3861 { 3862 return rcube_mime::explode_header_string($separator, $str, $remove_comments); 3863 } 3864 3865 public function select_mailbox($mailbox) 3866 { 3867 // do nothing 3868 } 3869 3870 public function set_mailbox($folder) 3871 { 3872 $this->set_folder($folder); 3873 } 3874 3875 public function get_mailbox_name() 3876 { 3877 return $this->get_folder(); 3878 } 3879 3880 public function messagecount($folder='', $mode='ALL', $force=false, $status=true) 3881 { 3882 return $this->count($folder, $mode, $force, $status); 3883 } 3884 3885 public function list_headers($folder='', $page=NULL, $sort_field=NULL, $sort_order=NULL, $slice=0) 3886 { 3887 return $this->list_messages($folder, $page, $sort_field, $sort_order, $slice); 3888 } 3889 3890 public function mailbox_status($folder = null) 3891 { 3892 return $this->folder_status($folder); 3893 } 3894 3895 public function message_index($folder = '', $sort_field = NULL, $sort_order = NULL) 3896 { 3897 return $this->index($folder, $sort_field, $sort_order); 3898 } 3899 3900 public function message_index_direct($folder, $sort_field = null, $sort_order = null, $skip_cache = true) 3901 { 3902 return $this->index_direct($folder, $sort_field, $sort_order, $skip_cache); 3903 } 3904 3905 public function list_mailboxes($root='', $name='*', $filter=null, $rights=null, $skip_sort=false) 3906 { 3907 return $this->list_folders_subscribed($root, $name, $filter, $rights, $skip_sort); 3908 } 3909 3910 public function list_unsubscribed($root='', $name='*', $filter=null, $rights=null, $skip_sort=false) 3911 { 3912 return $this->list_folders($root, $name, $filter, $rights, $skip_sort); 3913 } 3914 3915 public function get_mailbox_size($folder) 3916 { 3917 return $this->folder_size($folder); 3918 } 3919 3920 public function create_mailbox($folder, $subscribe=false) 3921 { 3922 return $this->create_folder($folder, $subscribe); 3923 } 3924 3925 public function rename_mailbox($folder, $new_name) 3926 { 3927 return $this->rename_folder($folder, $new_name); 3928 } 3929 3930 function delete_mailbox($folder) 3931 { 3932 return $this->delete_folder($folder); 3933 } 3934 3935 public function mailbox_exists($folder, $subscription=false) 3936 { 3937 return $this->folder_exists($folder, $subscription); 3938 } 3939 3940 public function mailbox_namespace($folder) 3941 { 3942 return $this->folder_namespace($folder); 3943 } 3944 3945 public function mod_mailbox($folder, $mode = 'out') 3946 { 3947 return $this->mod_folder($folder, $mode); 3948 } 3949 3950 public function mailbox_attributes($folder, $force=false) 3951 { 3952 return $this->folder_attributes($folder, $force); 3953 } 3954 3955 public function mailbox_data($folder) 3956 { 3957 return $this->folder_data($folder); 3958 } 3959 3960 public function mailbox_info($folder) 3961 { 3962 return $this->folder_info($folder); 3963 } 3964 3965 public function mailbox_sync($folder) 3966 { 3967 return $this->folder_sync($folder); 3968 } 3969 3970 public function expunge($folder='', $clear_cache=true) 3971 { 3972 return $this->expunge_folder($folder, $clear_cache); 3973 } 3974 3975 } -
branches/devel-framework/roundcubemail/program/include/rcube_message.php
r5881 r5885 664 664 return $parts; 665 665 } 666 667 668 /** 669 * Deprecated methods (to be removed) 670 */ 671 672 public static function unfold_flowed($text) 673 { 674 return rcube_mime::unfold_flowed($text); 675 } 676 677 public static function format_flowed($text, $length = 72) 678 { 679 return rcube_mime::format_flowed($text, $length); 680 } 681 666 682 } -
branches/devel-framework/roundcubemail/program/include/rcube_mime.php
r5881 r5885 59 59 * @return array Indexed list of addresses 60 60 */ 61 static function decode_address_list($input, $max = null, $decode = true, $fallback = null)61 public static function decode_address_list($input, $max = null, $decode = true, $fallback = null) 62 62 { 63 63 $a = self::parse_address_list($input, $decode, $fallback);
Note: See TracChangeset
for help on using the changeset viewer.
