[code_editor] element index

Package indexes

All elements
c d f g h o
c
top
ce_sync_file
ce_sync_file() in code_editor.php
Provides a hook for file synchronisation between mirrored servers.
ce_sync_file_move
ce_sync_file_move() in code_editor.php
Provides a hook for file synchronisation between mirrored servers.
code_editor.php
code_editor.php in code_editor.php
code_editor_do_footer
code_editor_do_footer() in code_editor.php
Output the code editors page footer.
code_editor_do_header
code_editor_do_header() in code_editor.php
Output the code editors page header.
code_editor_do_login
code_editor_do_login() in code_editor.php
Output a login page.
code_editor_escape_html
code_editor_escape_html() in code_editor.php
Escape HTML text. Heavily optimised! Ended up with preg_replace after trying lots of things.
code_editor_fix_permissions
Ensure that the specified file/folder is writeable for the FTP user (so that it can be deleted by the system), and should be called whenever a file is uploaded/created, or a folder is made. We call this function assuming we are giving world permissions
convert_to_save_path
convert_to_save_path() in code_editor.php
Convert a normal path to an overriden save path.
code_editor.php
code_editor.php in code_editor.php
d
top
do_dir
do_dir() in code_editor.php
Search inside a directory for editable files, whilst favouring the overridden versions.
do_get_path
do_get_path() in code_editor.php
Output the file selection page.
do_page
do_page() in code_editor.php
Output the editing page and do the editing.
f
top
file_get_contents
file_get_contents() in code_editor.php
Get the contents of a file.
g
top
get_chmod_array
Get a list of file permissions to set
get_dependencies
Get a mapping of dependency types
get_description
Get the description of the addon
get_file_list
Get a list of files that belong to this addon
get_version
Get the version of ocPortal this addon is for
h
top
Hook_addon_registry_code_editor
o
top
open_up_ftp_connection
open_up_ftp_connection() in code_editor.php
Open up an FTP connection from POSTed details.
c d f g h o