seo_get_fields (line 45)
Get template fields to insert into a form page, for manipulation of seo fields.
tempcode
seo_get_fields
(ID_TEXT $type, [?ID_TEXT $id = NULL])
-
ID_TEXT
$type: The type of resource (e.g. download)
-
?ID_TEXT
$id: The ID of the resource (NULL: adding)
seo_meta_erase_storage (line 27)
Erase a seo entry... as these shouldn't be left hanging around once content is deleted.
void
seo_meta_erase_storage
(ID_TEXT $type, ID_TEXT $id)
-
ID_TEXT
$type: The type of resource (e.g. download)
-
ID_TEXT
$id: The ID of the resource
seo_meta_set_for_explicit (line 71)
Explictly sets the meta information for the specified resource.
void
seo_meta_set_for_explicit
(ID_TEXT $type, ID_TEXT $id, SHORT_TEXT $keywords, SHORT_TEXT $description)
-
ID_TEXT
$type: The type of resource (e.g. download)
-
ID_TEXT
$id: The ID of the resource
-
SHORT_TEXT
$keywords: The keywords to use
-
SHORT_TEXT
$description: The description to use
seo_meta_set_for_implicit (line 93)
Sets the meta information for the specified resource, by auto-summarisation from the given parameters.
void
seo_meta_set_for_implicit
(ID_TEXT $type, ID_TEXT $id, array $keyword_sources, SHORT_TEXT $description)
-
ID_TEXT
$type: The type of resource (e.g. download)
-
ID_TEXT
$id: The ID of the resource
-
array
$keyword_sources: Array of content strings to summarise from
-
SHORT_TEXT
$description: The description to use