Changeset 950 in tests
- Timestamp:
- 08/05/2012 10:18:07 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/includes/factory.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/factory.php
r949 r950 34 34 } 35 35 36 function get_object_by_id $post_id ) {36 function get_object_by_id( $post_id ) { 37 37 return get_post( $post_id ); 38 38 } … … 59 59 } 60 60 61 function get_object_by_id $user_id ) {61 function get_object_by_id( $user_id ) { 62 62 return get_user( $user_id ); 63 63 } … … 89 89 } 90 90 91 function get_object_by_id $comment_id ) {91 function get_object_by_id( $comment_id ) { 92 92 return get_comment( $comment_id ); 93 93 } … … 115 115 function update_object( $blog_id, $fields ) {} 116 116 117 function get_object_by_id $blog_id ) {117 function get_object_by_id( $blog_id ) { 118 118 return get_blog_details( $blog_id, false ); 119 119 } … … 154 154 } 155 155 156 function get_object_by_id $term_id ) {156 function get_object_by_id( $term_id ) { 157 157 return get_term( $term_id ); 158 158 } … … 203 203 } 204 204 205 abstract function get_object_by_id $object_id );205 abstract function get_object_by_id( $object_id ); 206 206 207 207 function create_many( $count, $args = array(), $generation_definitions = null ) {
Note: See TracChangeset
for help on using the changeset viewer.