\

Traits

rex_factory_trait Factory trait.
rex_instance_list_pool_trait Instance List Pool Trait.
rex_instance_pool_trait Instance Pool Trait.
rex_singleton_trait Trait for singletons.

Interfaces

rex_addon_interface Interface for addons.
rex_context_provider_interface Generic interface for classes which provide a complete rex-context.
rex_package_interface Interface for packages.
rex_plugin_interface Interface for plugins.
rex_url_provider_interface Generic interface for classes which provide urls.
rex_user_role_interface Interface for user roles.

Classes

rex REX base class for core properties etc.
rex_addon Class for addons.
rex_addon_manager Manager class for packages.
rex_api_article2category This is a base class for all functions which a component may provide for public use.
rex_api_article2startarticle This is a base class for all functions which a component may provide for public use.
rex_api_article_add This is a base class for all functions which a component may provide for public use.
rex_api_article_copy This is a base class for all functions which a component may provide for public use.
rex_api_article_delete This is a base class for all functions which a component may provide for public use.
rex_api_article_edit This is a base class for all functions which a component may provide for public use.
rex_api_article_move This is a base class for all functions which a component may provide for public use.
rex_api_article_status This is a base class for all functions which a component may provide for public use.
rex_api_category2Article This is a base class for all functions which a component may provide for public use.
rex_api_category_add This is a base class for all functions which a component may provide for public use.
rex_api_category_delete This is a base class for all functions which a component may provide for public use.
rex_api_category_edit This is a base class for all functions which a component may provide for public use.
rex_api_category_move This is a base class for all functions which a component may provide for public use.
rex_api_category_status This is a base class for all functions which a component may provide for public use.
rex_api_content_copy This is a base class for all functions which a component may provide for public use.
rex_api_content_move_slice This is a base class for all functions which a component may provide for public use.
rex_api_content_slice_status This is a base class for all functions which a component may provide for public use.
rex_api_debug This is a base class for all functions which a component may provide for public use.
rex_api_exception Exception-Type to indicate exceptions in an api function.
rex_api_function This is a base class for all functions which a component may provide for public use.
rex_api_function_debug This is a base class for all functions which a component may provide for public use.
rex_api_has_user_session This is a base class for all functions which a component may provide for public use.
rex_api_install_core_update This is a base class for all functions which a component may provide for public use.
rex_api_install_package_add This is a base class for all functions which a component may provide for public use.
rex_api_install_package_delete This is a base class for all functions which a component may provide for public use.
rex_api_install_package_update This is a base class for all functions which a component may provide for public use.
rex_api_install_package_upload This is a base class for all functions which a component may provide for public use.
rex_api_metainfo_default_fields_create This is a base class for all functions which a component may provide for public use.
rex_api_package This is a base class for all functions which a component may provide for public use.
rex_api_result Class representing the result of a api function call.
rex_api_sitemap_tree This is a base class for all functions which a component may provide for public use.
rex_api_user_impersonate This is a base class for all functions which a component may provide for public use.
rex_article Object Oriented Framework: Bildet einen Artikel der Struktur ab.
rex_article_action
rex_article_cache
rex_article_content Klasse regelt den Zugriff auf Artikelinhalte.
rex_article_content_base Klasse regelt den Zugriff auf Artikelinhalte.
rex_article_content_editor Erweiterung eines Artikels um slicemanagement.
rex_article_revision
rex_article_service
rex_article_slice The rex_article_slice class is an object wrapper over the database table rex_article_slice.
rex_article_slice_history
rex_autoload REDAXO Autoloader.
rex_backend_login
rex_backend_password_policy
rex_backup
rex_backup_tar REDAXO Tar Klasse.
rex_be_controller
rex_be_navigation
rex_be_page Backend Page Class.
rex_be_page_main Backend main page class.
rex_be_style
rex_be_style_command_compile
rex_category Object Oriented Framework: Bildet eine Kategorie der Struktur ab.
rex_category_select
rex_category_service Funktionensammlung für die Strukturverwaltung.
rex_clang Clang class.
rex_clang_perm Abstract class for complex permissions.
rex_clang_service
rex_command_assets_sync
rex_command_cache_clear
rex_command_config_get
rex_command_config_set
rex_command_cronjob_run
rex_command_db_connection_options
rex_command_db_dump_schema
rex_command_db_set_connection
rex_command_install_download
rex_command_install_list
rex_command_install_update
rex_command_list
rex_command_package_activate
rex_command_package_deactivate
rex_command_package_delete
rex_command_package_install
rex_command_package_list
rex_command_package_uninstall
rex_command_setup_check
rex_command_setup_run
rex_command_system_report
rex_command_user_create
rex_command_user_set_password
rex_complex_perm Abstract class for complex permissions.
rex_config Class for handling configurations.
rex_config_form Create forms for rex_config data.
rex_console_application
rex_console_command
rex_console_command_loader
rex_content_service
rex_context A generic implementiation of rex_context_provider.
rex_cronjob Cronjob Addon.
rex_cronjob_article_status Cronjob Addon - Plugin article_status.
rex_cronjob_export Cronjob Addon.
rex_cronjob_form Cronjob Addon.
rex_cronjob_form_interval_element
rex_cronjob_manager Cronjob Addon.
rex_cronjob_manager_sql Cronjob Addon.
rex_cronjob_optimize_tables Cronjob Addon - Plugin optimize_tables.
rex_cronjob_phpcallback Cronjob Addon.
rex_cronjob_phpcode Cronjob Addon.
rex_cronjob_structure_history Cronjob Addon.
rex_cronjob_urlrequest Cronjob Addon.
rex_csrf_token Class for generating and validating csrf tokens.
rex_debug
rex_debug_clockwork
rex_dir Class for handling directories.
rex_editor
rex_effect_abstract
rex_effect_convert2img Benutzt den Konsolen convert Befehl.
rex_effect_crop Schneidet einen Ausschnitt aus einem Bild heraus. Es wird dabei nicht skaliert.
rex_effect_filter_blur
rex_effect_filter_brightness
rex_effect_filter_colorize
rex_effect_filter_contrast
rex_effect_filter_greyscale
rex_effect_filter_sepia
rex_effect_filter_sharpen
rex_effect_flip Spiegel ein Bild.
rex_effect_header
rex_effect_image_properties
rex_effect_insert_image Branded ein Bild mit einem Wasserzeichen.
rex_effect_mediapath
rex_effect_mirror
rex_effect_resize
rex_effect_rotate Dreht ein Bild.
rex_effect_rounded_corners Runde Ecken.
rex_effect_workspace
rex_error_handler
rex_event_select
rex_exception
rex_extension Klasse die Einsprungpunkte zur Erweiterung der Kernfunktionalitaetet bietet.
rex_extension_debug Klasse die Einsprungpunkte zur Erweiterung der Kernfunktionalitaetet bietet.
rex_extension_point Extension Point Class.
rex_extension_point_art_content_updated Extension Point Class.
rex_extension_point_console_shutdown Extension Point Class.
rex_file Class for handling files.
rex_finder Finder.
rex_form rex_form repraesentiert ein Formular in REDAXO.
rex_form_base
rex_form_checkbox_element
rex_form_container_element
rex_form_control_element
rex_form_element
rex_form_options_element
rex_form_perm_select_element
rex_form_prio_element
rex_form_radio_element
rex_form_raw_element class implements storage of raw html(string) as rex_form object.
rex_form_restrictons_element
rex_form_select_element
rex_form_widget_linklist_element
rex_form_widget_linkmap_element
rex_form_widget_media_element
rex_form_widget_medialist_element
rex_formatter String formatter class.
rex_fragment
rex_functional_exception Exception class for user-friendly error messages.
rex_history_login
rex_http_exception Exception class for http-status code handling.
rex_i18n Class for internationalization.
rex_input
rex_input_date
rex_input_datetime
rex_input_linkbutton
rex_input_linklistbutton
rex_input_mediabutton
rex_input_medialistbutton
rex_input_select
rex_input_text
rex_input_textarea
rex_input_time
rex_install
rex_install_archive
rex_install_package_add
rex_install_package_download
rex_install_package_update
rex_install_packages
rex_install_webservice
rex_linkmap_article_list
rex_linkmap_article_list_renderer
rex_linkmap_category_tree
rex_linkmap_tree_renderer
rex_list Klasse zum erstellen von Listen.
rex_log_entry Log entry class.
rex_log_file Log file class.
rex_logger Simple Logger class.
rex_logger_debug Simple Logger class.
rex_login
rex_mailer
rex_managed_media
rex_markdown Markdown parser.
rex_media Object Oriented Framework: Bildet ein Medium des Medienpools ab.
rex_media_cache
rex_media_category Object Oriented Framework: Bildet eine Kategorie im Medienpool ab.
rex_media_category_select Class MediaKategorie Select.
rex_media_category_service
rex_media_manager
rex_media_manager_not_found_exception
rex_media_perm Abstract class for complex permissions.
rex_metainfo_article_handler
rex_metainfo_category_handler
rex_metainfo_clang_handler
rex_metainfo_handler
rex_metainfo_media_handler
rex_metainfo_table_expander MetaForm Addon.
rex_metainfo_table_manager MetaForm Addon.
rex_module
rex_module_cache
rex_module_perm Abstract class for complex permissions.
rex_navigation Klasse zum Erstellen von Navigationen.
rex_null_addon Represents a null addon.
rex_null_package Represents a null package.
rex_null_plugin Represents a null plugin.
rex_package Abstract base class for packages.
rex_package_manager Manager class for packages.
rex_pager The rex_pager-class implements all the logic which is necessary to implement some sort of pagination.
rex_parsedown_with_toc
rex_password_policy
rex_path Utility class to generate absolute paths.
rex_path_default_provider Utility class to generate absolute paths.
rex_perm Class for permissions.
rex_plugin Class for plugins.
rex_plugin_manager Manager class for packages.
rex_request Class for getting the superglobals.
rex_response HTTP1.1 Client Cache Features.
rex_scss_compiler
rex_select
rex_setup
rex_setup_importer
rex_sitemap_category_tree
rex_socket Class for sockets.
rex_socket_exception Socket exception.
rex_socket_proxy Class for sockets over a proxy.
rex_socket_response Class for rex_socket responses.
rex_sortable_iterator Sortable iterator.
rex_sql Klasse zur Verbindung und Interatkion mit der Datenbank.
rex_sql_column Class to represent sql columns.
rex_sql_debug Klasse zur Verbindung und Interatkion mit der Datenbank.
rex_sql_exception
rex_sql_foreign_key Class to represent sql foreign keys.
rex_sql_index Class to represent sql indexes.
rex_sql_schema_dumper Class for generating the php code for a rex_sql_table definition.
rex_sql_table Class to represent sql tables.
rex_sql_util Class to execute a sql dump.
rex_stream Stream wrapper to include variables like files (php code will be evaluated).
rex_string String utility class.
rex_structure_context
rex_structure_element Object Oriented Framework: Basisklasse für die Strukturkomponenten.
rex_structure_perm Abstract class for complex permissions.
rex_system_report
rex_system_setting This class can be used to add settings to the system settings page.
rex_system_setting_article_id Class for the start_article_id and notfound_article_id settings.
rex_system_setting_default_template_id Class for the default_template_id setting.
rex_system_setting_phpmailer_errormail Class for errormail setting to show in settings.
rex_template Template Objekt.
rex_template_cache
rex_template_select
rex_timer Class to stop the script time.
rex_type Class for var casting.
rex_url Utility class to generate relative URLs.
rex_user Class for users.
rex_user_role Class for user roles.
rex_validator Validator class.
rex_var Abstract baseclass for REX_VARS.
rex_var_article REX_ARTICLE[1] REX_ARTICLE[id=1].
rex_var_category REX_CATEGORY[xzy] REX_CATEGORY[field=xzy] REX_CATEGORY[field=xzy id=3] REX_CATEGORY[field=xzy id=3 clang=2].
rex_var_clang REX_CLANG[id=x field=xzy].
rex_var_config REX_CONFIG[key=xzy].
rex_var_dumper
rex_var_link REX_LINK.
rex_var_linklist REX_LINKLIST[1].
rex_var_media REX_MEDIA[1].
rex_var_medialist REX_MEDIALIST[1].
rex_var_property REX_PROPERTY[key=xzy].
rex_var_template REX_TEMPLATE[2].
rex_var_value REX_VALUE[1],.
rex_version
rex_view
rex_yaml_parse_exception Exception class for yaml parse errors.
RexTypeReturnProvider

Functions

rex_cookie()

rex_cookie(mixed  $varname, mixed  $vartype = '', mixed  $default = '') : mixed

Parameters

mixed $varname
mixed $vartype
mixed $default

Returns

mixed

rex_delete_cache()

rex_delete_cache() : mixed

Deletes the cache.

Returns

mixed

rex_env()

rex_env(mixed  $varname, mixed  $vartype = '', mixed  $default = '') : mixed

Parameters

mixed $varname
mixed $vartype
mixed $default

Returns

mixed

rex_escape()

rex_escape(mixed  $value, string  $strategy = 'html') : mixed

Escapes a variable.

This function is adapted from code coming from Twig. (c) Fabien Potencier https://github.com/twigphp/Twig/blob/69633fc19189699d20114f005efc8851c3fe9288/lib/Twig/Extension/Core.php#L900-L1127

Parameters

mixed $value

The value to escape

string $strategy

Supported strategies: "html": escapes a string for the HTML context. "html_attr": escapes a string for the HTML attrubute context. It is only necessary for dynamic attribute names and attribute values without quotes (data-foo=bar). For attribute values within quotes you can use default strategy "html". "js": escapes a string for the JavaScript/JSON context. "css": escapes a string for the CSS context. CSS escaping can be applied to any string being inserted into CSS and escapes everything except alphanumerics. "url": escapes a string for the URI or parameter contexts. This should not be used to escape an entire URI; only a subcomponent being inserted.

Throws

\InvalidArgumentException

Returns

mixed

rex_files()

rex_files(mixed  $varname, mixed  $vartype = '', mixed  $default = '') : mixed

Parameters

mixed $varname
mixed $vartype
mixed $default

Returns

mixed

rex_get()

rex_get(mixed  $varname, mixed  $vartype = '', mixed  $default = '') : mixed

Parameters

mixed $varname
mixed $vartype
mixed $default

Returns

mixed

rex_getUrl()

rex_getUrl(int|string|null  $id = null, int|string|null  $clang = null, array  $params = [], string  $separator = '&') : string

Gibt eine Url zu einem Artikel zurück.

Parameters

int|string|null $id
int|string|null $clang

SprachId des Artikels

array $params

Array von Parametern

string $separator

Returns

string

rex_ini_get()

rex_ini_get(string  $val) : mixed

Parameters

string $val

Returns

mixed

rex_mediapool_deleteMedia()

rex_mediapool_deleteMedia(string  $filename) : array

Parameters

string $filename

Returns

array

rex_mediapool_filename()

rex_mediapool_filename(string  $FILENAME, bool  $doSubindexing = true) : string

Erstellt einen Filename der eindeutig ist für den Medienpool.

Parameters

string $FILENAME

Dateiname

bool $doSubindexing

Returns

string

rex_mediapool_getMediaTypeBlacklist()

rex_mediapool_getMediaTypeBlacklist() : array

return global mediatype blacklist from master.inc.

Returns

array —

blacklisted mediatype extensions

rex_mediapool_getMediaTypeWhitelist()

rex_mediapool_getMediaTypeWhitelist(array  $args = []) : array

get whitelist of mediatypes(extensions) given via media widget "types" param.

Parameters

array $args

widget params

Returns

array —

whitelisted extensions

rex_mediapool_isAllowedMediaType()

rex_mediapool_isAllowedMediaType(string  $filename, array  $args = []) : bool

check if mediatpye(extension) is allowed for upload.

Parameters

string $filename
array $args

Returns

bool

rex_mediapool_isAllowedMimeType()

rex_mediapool_isAllowedMimeType(string  $path, null|string  $filename = null) : bool

Checks file against optional whitelist from property `allowed_mime_types`.

Parameters

string $path

Path to the physical file

null|string $filename

Optional filename, will be used for extracting the file extension. If not given, the extension is extracted from $path.

Returns

bool

rex_mediapool_Mediaform()

rex_mediapool_Mediaform(mixed  $form_title, mixed  $button_title, mixed  $rex_file_category, mixed  $file_chooser, mixed  $close_form) : string

Ausgabe des Medienpool Formulars.

Parameters

mixed $form_title
mixed $button_title
mixed $rex_file_category
mixed $file_chooser
mixed $close_form

Returns

string

rex_mediapool_mediaIsInUse()

rex_mediapool_mediaIsInUse(string  $filename) : bool|string

Parameters

string $filename

Returns

bool|string

rex_mediapool_saveMedia()

rex_mediapool_saveMedia(array  $FILE, int  $rex_file_category, array  $FILEINFOS, string  $userlogin = null, bool  $doSubindexing = true) : array

Holt ein upgeloadetes File und legt es in den Medienpool Dabei wird kontrolliert ob das File schon vorhanden ist und es wird eventuell angepasst, weiterhin werden die Fileinformationen übergeben.

Parameters

array $FILE
int $rex_file_category
array $FILEINFOS
string $userlogin
bool $doSubindexing

Returns

array

rex_mediapool_syncFile()

rex_mediapool_syncFile(string  $physical_filename, int  $category_id, string  $title, null|int  $filesize = null, null|string  $filetype = null, null|string  $userlogin = null) : array

Synchronisiert die Datei $physical_filename des Mediafolders in den Medienpool.

Parameters

string $physical_filename
int $category_id
string $title
null|int $filesize
null|string $filetype
null|string $userlogin

Returns

array

rex_mediapool_Syncform()

rex_mediapool_Syncform(mixed  $rex_file_category) : mixed

Ausgabe des Medienpool Sync-Formulars.

Parameters

mixed $rex_file_category

Returns

mixed

rex_mediapool_updateMedia()

rex_mediapool_updateMedia(array  $FILE, array  $FILEINFOS, string  $userlogin = null) : array

Holt ein upgeloadetes File und legt es in den Medienpool Dabei wird kontrolliert ob das File schon vorhanden ist und es wird eventuell angepasst, weiterhin werden die Fileinformationen übergeben.

Parameters

array $FILE
array $FILEINFOS
string $userlogin

Returns

array

rex_mediapool_Uploadform()

rex_mediapool_Uploadform(mixed  $rex_file_category) : mixed

Ausgabe des Medienpool Upload-Formulars.

Parameters

mixed $rex_file_category

Returns

mixed

rex_metainfo_add_field()

rex_metainfo_add_field(mixed  $title, mixed  $name, mixed  $priority, mixed  $attributes, mixed  $type, mixed  $default, mixed  $params = null, mixed  $validate = null, mixed  $restrictions = '', mixed  $callback = null) : mixed

Fügt ein MetaFeld hinzu und legt dafür eine Spalte in der MetaTable an.

Parameters

mixed $title
mixed $name
mixed $priority
mixed $attributes
mixed $type
mixed $default
mixed $params
mixed $validate
mixed $restrictions
mixed $callback

Returns

mixed

rex_metainfo_add_field_type()

rex_metainfo_add_field_type(mixed  $label, mixed  $dbtype, mixed  $dblength) : mixed

Fügt einen neuen Feldtyp ein.

Gibt beim Erfolg die Id des Feldes zurück, bei Fehler die Fehlermeldung

Parameters

mixed $label
mixed $dbtype
mixed $dblength

Returns

mixed

rex_metainfo_cleanup()

rex_metainfo_cleanup(mixed  $epOrParams) : mixed

Alle Metafelder löschen, nicht das nach einem Import in der Parameter Tabelle noch Datensätze zu Feldern stehen, welche nicht als Spalten in der rex_article angelegt wurden!

Parameters

mixed $epOrParams

Returns

mixed

rex_metainfo_delete_field()

rex_metainfo_delete_field(mixed  $fieldIdOrName) : mixed

Parameters

mixed $fieldIdOrName

Returns

mixed

rex_metainfo_delete_field_type()

rex_metainfo_delete_field_type(mixed  $field_type_id) : bool|string

Löscht einen Feldtyp.

Gibt beim Erfolg true zurück, sonst eine Fehlermeldung

Parameters

mixed $field_type_id

Returns

bool|string

rex_metainfo_extensions_handler()

rex_metainfo_extensions_handler(\rex_extension_point  $ep) : mixed

Bindet ggf extensions ein.

Parameters

\rex_extension_point $ep

Returns

mixed

rex_metainfo_meta_prefix()

rex_metainfo_meta_prefix(string  $name) : string

Extrahiert den Prefix aus dem Namen eine Spalte.

Parameters

string $name

Returns

string

rex_metainfo_meta_table()

rex_metainfo_meta_table(string  $prefix) : mixed

Gibt die mit dem Prefix verbundenen Tabellennamen zurück.

Parameters

string $prefix

Returns

mixed

rex_post()

rex_post(mixed  $varname, mixed  $vartype = '', mixed  $default = '') : mixed

Parameters

mixed $varname
mixed $vartype
mixed $default

Returns

mixed

rex_redirect()

rex_redirect(null|int|string  $article_id, null|int|string  $clang = null, array  $params = []) : mixed

Leitet auf einen anderen Artikel weiter.

Parameters

null|int|string $article_id
null|int|string $clang

SprachId des Artikels

array $params

Throws

\InvalidArgumentException

Returns

mixed

rex_request()

rex_request(mixed  $varname, mixed  $vartype = '', mixed  $default = '') : mixed

Parameters

mixed $varname
mixed $vartype
mixed $default

Returns

mixed

rex_request_method()

rex_request_method() : string

Returns

string

rex_server()

rex_server(mixed  $varname, mixed  $vartype = '', mixed  $default = '') : mixed

Parameters

mixed $varname
mixed $vartype
mixed $default

Returns

mixed

rex_session()

rex_session(mixed  $varname, mixed  $vartype = '', mixed  $default = '') : mixed

Parameters

mixed $varname
mixed $vartype
mixed $default

Returns

mixed

rex_set_session()

rex_set_session(mixed  $varname, mixed  $value) : mixed

Parameters

mixed $varname
mixed $value

Returns

mixed

rex_unset_session()

rex_unset_session(mixed  $varname) : mixed

Parameters

mixed $varname

Returns

mixed