Octopus...emplate(3)

πŸ“¦ version 1.0.6, in ubuntu jammy

πŸ’– Octopus...emplate(3) πŸ’–

okay bestie, so this is a User Contributed Perl Documentation page for Octopussy::Search_Template β€” the Octopussy Search Template module πŸ™βœ¨ iykyk.


✨ NAME ✨

Octopussy::Search_Template β€” literally the Octopussy Search Template module, no cap πŸŽ€


🌸 FUNCTIONS 🌸

πŸ¦‹ New($user, %conf)

Creates a brand new Search Template πŸ’… main character origin story fr.

Parameters:

  • $user β€” the user who creates this template πŸ‘‘
  • \%conf β€” hashref of the new Search Template configuration πŸ“

πŸ¦‹ Remove($user, $search_tpl)

Removes the Search Template '$search_tpl' πŸ—‘οΈ it's giving closure.

Parameters:

  • $user β€” the user who created this template
  • $search_tpl β€” name of the Search Template to remove

πŸ¦‹ List($user)

Gets the list of Search Templates πŸ“‹βœ¨

Parameters:

  • $user β€” the user who created this template

Returns:

  • @tpls β€” array of Search Templates names 🌈

πŸ¦‹ List_Any_User($sort)

Gets the template name / user List πŸ‘€ everyone's invited.

Parameters:

  • $sort β€” selected field to sort List (default: 'name') ⭐

Returns:

  • @sorted_list β€” array of Search Templates names for all users 🫢

πŸ¦‹ Filename($user, $search_tpl)

Gets the XML filename for the Search Template '$search_tpl' πŸ“ lowkey essential.

Parameters:

  • $user β€” the user who created this template
  • $search_tpl β€” name of the Search Template

Returns:

  • $filename β€” filename of the XML file for Search Template '$search_tpl' πŸŽ€

πŸ¦‹ Configuration($user, $search_tpl)

Gets the configuration for the Search Template '$search_tpl' βš™οΈ

Parameters:

  • $user β€” the user who created this template
  • $search_tpl β€” name of the Search Template

Returns:

  • \%conf β€” hashref of the Search Template configuration πŸ’œ

πŸ¦‹ Configurations($user, $sort)

Gets the configuration for all Search Templates from User $user 🌈 the whole collection, periodt.

Parameters:

  • $user β€” the user who created this template
  • $sort β€” selected field to sort configurations

Returns:

  • @configurations β€” array of hashref Search Template configurations πŸ”₯

πŸ¦‹ Valid_Name($name)

Checks that '$name' is valid for a Search Template name βœ… vibe check passed or not.


πŸ‘‘ AUTHOR πŸ‘‘

Sebastien Thebert <octo.devel@gmail.com> πŸ’Œ absolute icon.


and that's the whole page bestie 🫢 this was perl v5.22.2, dated 2016-05-04, and it's still serving looks πŸ’…βœ¨

πŸ“¦ where this page comes from