From bff71b273807307eb8c726db04a6b641d4a91669 Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 11 Jan 2010 23:50:18 +0000 Subject: Fixed a few spelling mistakes. Added descriptions for the vars in 3.2 git-svn-id: http://code.elgg.org/elgg/trunk@3798 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/search/README.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mod/search/README.txt b/mod/search/README.txt index 047ba10c2..301fe3d09 100644 --- a/mod/search/README.txt +++ b/mod/search/README.txt @@ -4,10 +4,10 @@ Full text search dev reference. * All entities are searched through title and description using MySQL's native fulltext search when possible, and LIKE %...% when not. - This can be overriden on a type/subtype basis. + This can be overridden on a type/subtype basis. * Entities are displayed in a standard list view consisting of a - title, blurb, and icon of the owning entity. This can be overriden + title, blurb, and icon of the owning entity. This can be overridden on a type/subtype basis. * Search is separated based upon types/subtypes pairs and any @@ -95,7 +95,7 @@ Full text search dev reference. * Search views are separate from the object/entity views because view types might not match entity types. - * The default search listing view interates through each entity + * The default search listing view iterates through each entity found and passes to the entity view. See 3.3 for more information about listing views. @@ -108,8 +108,8 @@ Full text search dev reference. * The following parameters are passed in $vars to the entity view by the default listing view: entity => The current returned entity - params => - results + results => The results from the search/type:subtype hook + params => The params passed to the search/type:subtype hook * Example: To create an entity view for an ElggObject of subtype blog, create a file called: @@ -182,4 +182,4 @@ Full text search dev reference. return array( 'count' => $count, 'entities' => array($entity) - ); \ No newline at end of file + ); -- cgit v1.2.3