API reference

The 471 framework classes by plugin, and the global helper functions, read from the code by reflection: signatures, docblocks, public properties (the $PROJECT_CONF surface) and the source of every public method.

Core classes/ 17

classes
  • yf_csrf_guard
    CSRF protection.
  • yf_debug
    Debug console (DEBUG_MODE only): the panel at the end of the page, built from the debug() records of the request.
  • yf_dir
    Filesystem utils.
  • yf_graphics
    Core content-related methods stored here.
  • yf_main
  • yf_module
    Modules template class.
  • yf_password
    Password hashing and verification shared by auth_user, auth_admin, the validators and the reset flow.
  • yf_redirect
    Redirects handler.
  • yf_router
    Incoming requests router.
  • yf_security
    Security class, forked from codeigniter.
  • yf_services
    Abstraction layer over YF services.
  • yf_services_autoload
    Per-file lazy autoloader driven by services/<name>.lock.json (see yf_services_lock): class -> psr-4 / psr-0 / classmap index -> file under <vendor dir>/<vend...
  • yf_services_lock
    Dependency lock of a services/ loader: walks the packagist p2 metadata of the loader's composer_names without composer, picks versions, prunes what the platf...
  • yf_utf8
    Unicode methods.
  • yf_utils
  • yf_validate
    Validation common methods, part of this was inspired by codeigniter 2.1 form_validate.
  • yf_wrapper_job
    Core jobs wrapper.

admin plugins/admin/ 5

admin modules

admin_home plugins/admin_home/ 1

admin modules

api plugins/api/ 1

classes

assets plugins/assets/ 6

classes
admin modules

auth plugins/auth/ 2

classes

cache plugins/cache/ 9

categories plugins/categories/ 2

classes
admin modules

charts plugins/charts/ 8

classes

ckeditor plugins/ckeditor/ 2

comments plugins/comments/ 4

user modules
admin modules

common plugins/common/ 35

classes
user modules

conf plugins/conf/ 2

admin modules

content plugins/content/ 9

classes
user modules
admin modules

dashboards plugins/dashboards/ 3

classes
admin modules

docs plugins/docs/ 2

classes
  • yf_docs_api
    API reference of the docs site (/docs/api): the framework classes and global helpers, read by reflection.
user modules

dynamic plugins/dynamic/ 8

ethereum plugins/ethereum/ 1

classes

geo plugins/geo/ 7

classes
user modules
admin modules

home_page plugins/home_page/ 1

user modules

html plugins/html/ 9

classes
  • yf_html_bs5 html/
    Bootstrap 5.3 markup of the yf_html widgets, used by yf_html when conf('css_framework') is bs5 (yf_html::_bs5()). Same signatures and options as the bs3 meth...
  • yf_html_datetime html/
  • yf_html_tree html/
  • yf_html5fw_bs3 html5fw/
    Twitter bootstrap v3 html5 abstraction driver.
  • yf_html5fw_bs4 html5fw/
    Twitter bootstrap v4 html5 abstraction driver.
  • yf_html5fw_bs5 html5fw/
    Twitter bootstrap v5 html5 abstraction driver.
  • yf_html5fw_empty html5fw/
  • yf_html
    HTML high-level controls collection.
  • yf_html5fw
    Abstraction layer over HTML5/CSS frameworks: conf('css_framework') = bs3 (default), bs4, bs5 or empty (no framework classes).

htmx plugins/htmx/ 1

classes

locale plugins/locale/ 10

logs plugins/logs/ 31

classes
admin modules

memcached plugins/memcached/ 1

classes

notifications plugins/notifications/ 3

pubsub plugins/pubsub/ 4

classes

queue plugins/queue/ 3

classes

rabbitmq plugins/rabbitmq/ 1

classes

redis plugins/redis/ 3

classes
admin modules

rewrite plugins/rewrite/ 2

classes

session plugins/session/ 5

classes

shop plugins/shop/ 85

user modules
admin modules

site_map plugins/site_map/ 1

user modules

site_nav_bar plugins/site_nav_bar/ 2

user modules
admin modules

sms plugins/sms/ 1

ssh plugins/ssh/ 3

classes

static_pages plugins/static_pages/ 2

user modules
admin modules

sys plugins/sys/ 26

classes
admin modules

table2 plugins/table2/ 4

classes

test plugins/test/ 12

user modules
admin modules

tpl plugins/tpl/ 6

classes
admin modules

user plugins/user/ 12