久久精品水蜜桃av综合天堂,久久精品丝袜高跟鞋,精品国产肉丝袜久久,国产一区二区三区色噜噜,黑人video粗暴亚裔

WordPress: WPMU Functions/get blog list:修訂間差異

來自站長百科
跳轉至: 導航、? 搜索
(新頁面: Returns a stdClass Object of blogs with each in the following format: stdClass Object ( [blog_id] => 1 [site_id] => 1 [domain] => sub.example.com [path] => /pathname/ ...)
?
無編輯摘要
?
第1行: 第1行:
Returns a stdClass Object of blogs with each in the following format:
Returns a stdClass Object of blogs with each in the following format:
返回博客的stdClass Object,每個Object的格式如下:


?? stdClass Object (
?? stdClass Object (
? ? [blog_id] => 1
? ? [site_id] => 1
? ? [domain] => sub.example.com
? ? [path] => /pathname/
? ? [registered] => 2008-01-01 01:00:00
? ? [last_updated] => 2008-01-01 01:00:00
? ? [public] => 1
? ? [archived] => 0
? ? [mature] => 0
? ? [spam] => 0
? ? [deleted] => 0
? ? [lang_id] => 0
? ? [blogname] => Blog Name
? ? [siteurl] => http://sub.example.com/pathname
? ? [post_count] => 1
? )
stdClass Object (
?? ? [blog_id] => 1
?? ? [blog_id] => 1
?? ? [site_id] => 1
?? ? [site_id] => 1
第21行: 第41行:
==Note==
==Note==


==注意==
Orders the blog list by registered date in descending order (oldest to newest). As such, using start and end may slice blogs other than than those desired. An improvement to this would be to sort by blog_id, blogname or even allowing the developer to specify their own order (for example: get_blog_list(0,10,true,blogname).
Orders the blog list by registered date in descending order (oldest to newest). As such, using start and end may slice blogs other than than those desired. An improvement to this would be to sort by blog_id, blogname or even allowing the developer to specify their own order (for example: get_blog_list(0,10,true,blogname).
以遞減的順序,根據(jù)博客的注冊日期,列出博客(從最晚注冊到最新注冊)。這樣,使用start and end可能會分開博客,而不會得到預期的效果。改善的方法是根據(jù)blog_id,博客名分類,甚至允許開發(fā)人員規(guī)定自己的博客順序(例如:get_blog_list(0,10,正確的,博客名)。
----


----
----


Return to [[WordPress:WPMU_Functions]]
Return to [[WordPress:WPMU_Functions]]
返回到[[WordPress:WPMU_Functions| WPMU_Functions]]

2008年9月26日 (五) 15:34的最新版本

Returns a stdClass Object of blogs with each in the following format:

返回博客的stdClass Object,每個Object的格式如下:

 stdClass Object (
   [blog_id] => 1
   [site_id] => 1
   [domain] => sub.example.com
   [path] => /pathname/
   [registered] => 2008-01-01 01:00:00
   [last_updated] => 2008-01-01 01:00:00
   [public] => 1
   [archived] => 0
   [mature] => 0
   [spam] => 0
   [deleted] => 0
   [lang_id] => 0
   [blogname] => Blog Name
   [siteurl] => http://sub.example.com/pathname
   [post_count] => 1
 )

stdClass Object (

   [blog_id] => 1
   [site_id] => 1
   [domain] => sub.example.com
   [path] => /pathname/
   [registered] => 2008-01-01 01:00:00
   [last_updated] => 2008-01-01 01:00:00
   [public] => 1
   [archived] => 0
   [mature] => 0
   [spam] => 0
   [deleted] => 0
   [lang_id] => 0
   [blogname] => Blog Name
   [siteurl] => http://sub.example.com/pathname
   [post_count] => 1
 )

Note[ ]

注意[ ]

Orders the blog list by registered date in descending order (oldest to newest). As such, using start and end may slice blogs other than than those desired. An improvement to this would be to sort by blog_id, blogname or even allowing the developer to specify their own order (for example: get_blog_list(0,10,true,blogname).

以遞減的順序,根據(jù)博客的注冊日期,列出博客(從最晚注冊到最新注冊)。這樣,使用start and end可能會分開博客,而不會得到預期的效果。改善的方法是根據(jù)blog_id,博客名分類,甚至允許開發(fā)人員規(guī)定自己的博客順序(例如:get_blog_list(0,10,正確的,博客名)。



Return to WordPress:WPMU_Functions

返回到 WPMU_Functions