| [ Index ] |
PHP Cross Reference of GlotPress |
[Source view] [Print] [Project Stats]
Meta and options functions
| File Size: | 372 lines (10 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| gp_sanitize_meta_key( $key ) X-Ref |
| No description |
| gp_update_meta( $object_id = 0, $meta_key, $meta_value, $type, $global = false ) X-Ref |
| Adds and updates meta data in the database |
| gp_delete_meta( $object_id = 0, $meta_key, $meta_value, $type, $global = false ) X-Ref |
| Deletes meta data from the database |
| gp_append_meta( $object, $type ) X-Ref |
| Adds an objects meta data to the object This is the only function that should add to user / topic - NOT gpdb::prepared |
| _gp_append_meta_sort( $a, $b ) X-Ref |
| Sorts meta keys by length to ensure $appended_object->{$gpdb->prefix} key overwrites $appended_object->key as desired |
| gp_option( $option ) X-Ref |
| Echoes the requested bbPress option by calling gp_get_option() param: string The option to be echoed return: void |
| gp_get_option( $option ) X-Ref |
| Returns the requested bbPress option from the meta table or the $bb object param: string The option to be echoed return: mixed The value of the option |
| gp_get_option_from_db( $option ) X-Ref |
| Retrieves and returns the requested bbPress option from the meta table param: string The option to be echoed return: void |
| gp_cache_all_options() X-Ref |
| No description |
| gp_update_option( $option, $value ) X-Ref |
| No description |
| gp_delete_option( $option, $value = '' ) X-Ref |
| No description |
| Generated: Thu May 24 03:59:35 2012 | Hosted by follow the white rabbit. |