| [ Index ] |
|
Code source de b2evolution 2.1.0-beta |
[Code source] [Imprimer] [Statistiques]
This file implements Post handling functions. This file is part of the evoCore framework - {@link http://evocore.net/} See also {@link http://sourceforge.net/projects/evocms/}.
| Author: | cafelog (team) |
| Author: | blueyed: Daniel HAHLER. |
| Author: | fplanque: Francois PLANQUE. |
| Author: | tswicegood: Travis SWICEGOOD. |
| Author: | vegarg: Vegar BERG GULDAL. |
| Copyright: | (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/} |
| Version: | $Id: _item.funcs.php,v 1.5 2007/09/23 18:57:15 fplanque Exp $ |
| Poids: | 710 lignes (22 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
| init_MainList( $items_nb_limit ) X-Ref |
| Prepare the MainList object for displaying skins. param: integer max # of posts on the page |
| urltitle_validate( $urltitle, $title, $post_ID = 0, $query_only = false, $dbprefix = 'post_', $dbIDname = 'post_ID', $dbtable = 'T_items__item' ) X-Ref |
| Validate URL title Using title as a source if url title is empty param: string url title to validate param: string real title to use as a source if $urltitle is empty (encoded in $evo_charset) param: integer ID of post return: string validated url title |
| get_postdata($postid) X-Ref |
| if global $postdata was not set it will be |
| bpost_count_words($string) X-Ref |
| Returns the number of the words in a string, sans HTML param: string return: integer |
| statuses_where_clause( $show_statuses = '', $dbprefix = 'post_', $req_blog = NULL ) X-Ref |
| Construct the where clause to limit retrieved posts on their status param: Array statuses of posts we want to get |
| cat_select( $display_info = true, $form_fields = true ) X-Ref |
| Allow recursive category selection. param: boolean param: boolean true: use form fields, false: display only |
| cat_select_header() X-Ref |
| Header for {@link cat_select()} |
| cat_select_before_first( $parent_cat_ID, $level ) X-Ref |
| callback to start sublist |
| cat_select_before_each( $cat_ID, $level, $total_count ) X-Ref |
| callback to display sublist element |
| cat_select_after_each( $cat_ID, $level ) X-Ref |
| callback after each sublist element |
| cat_select_after_last( $parent_cat_ID, $level ) X-Ref |
| callback to end sublist |
| attach_browse_tabs() X-Ref |
| Used by the items & the comments controllers |
| visibility_select( & $Form, $post_status ) X-Ref |
| Allow to select status/visibility |
| Généré le : Thu Nov 29 23:58:50 2007 | par Balluche grâce à PHPXref 0.7 |
|