...
Even though most of methods mentioned makes no sense in CLI they still return value that makes sense to avoid changing every call site.
Things, that usually are done from CLI
- sending e-mail
- can be several e-mails at once
- each e-mail on different language
- phrases used inside e-mail
- building a link
- to homepage
- to other page
- with use_section="1" attribute
- with mod-rewrite globally enabled
- with mod-rewrite globally disabled
- link to a category item
- printing a grid
- with help of PrintList/PrintList2 tags
- usage of InitList tag
- loading an item
- from database by given id