R | |
refresh, Repository | |
register_articleeditor_plugin, RatatoeskrPlugin | |
register_backend_pluginpage, RatatoeskrPlugin | |
register_comment_validator, RatatoeskrPlugin | |
register_on_comment_store, RatatoeskrPlugin | |
register_ste_tag, RatatoeskrPlugin | |
register_tag, STECore | |
register_textprocessor, RatatoeskrPlugin | |
register_url_handler | |
remove_style, Section | |
rollback, Transaction | |
S | |
save | |
section_transform_ste | |
self_url | |
set_section, Article | |
set_tags, Article | |
set_var_by_name, STECore | |
sub_prefix | |
T | |
tag_transform_ste | |
test_name | |
test_status, Article | |
test_urlname, Article | |
textprocessor_apply | |
textprocessor_apply_translation | |
textprocessor_register | |
transcompile, FatalRuntimeError | |
U | |
ucount | |
uninstall, RatatoeskrPlugin | |
update, RatatoeskrPlugin | |
url_action_alias | |
url_action_simple | |
url_action_subactions | |
url_process |
Refresh the package cache and the name and description.
public function refresh( $force = False )
Register a plugin for the article editor in the backend.
final protected function register_articleeditor_plugin( $label, $fx, $template )
Register a backend subpage for your plugin.
final protected function register_backend_pluginpage( $label, $fx )
Register a comment validator.
final protected function register_comment_validator( $fx )
Register a function that will be called, after a comment was saved.
final protected function register_on_comment_store( $fx )
Register a custom STE tag.
final protected function register_ste_tag( $name, $fx )
Register a custom tag.
public function register_tag( $name, $callback )
Register a textprocessor.
final protected function register_textprocessor( $name, $fx, $visible_in_backend = True )
Register an URL handler.
function register_url_handler( $name, $callback )
Register a URL handler
final protected function register_url_handler( $name, $fx )
Remove a style from this section.
public function remove_style( $style )
Toll the transaction back.
public function rollback()
AlreadyExistsError, InvalidDataError
public function save()
Save changes to database.
public function save()
public function save()
Saves the translations to database.
public function save()
public function save()
Save the plugin.
public function save()
AlreadyExistsError, InvalidDataError
public function save()
Saves a template.
public function save( $tpl, $data, $mode )
Save changes to database.
public function save()
AlreadyExistsError, InvalidDataError
public function save()
Saves the object to database
public function save()
Transforms an Section object to an array, so it can be accessed via a STE template.
function section_transform_ste( $section, $lang )
Gets current URL.
function self_url()
Set the section of this article.
public function set_section( $section )
Set the Tags that should be associated with this Article.
public function set_tags( $tags )
Set a template variable by its name.
public function set_var_by_name( $name, $val )
Substitutes “PREFIX_” in the input string with the prefix from the config.
function sub_prefix( $q )
Transforms an Tag object to an array, so it can be accessed via a STE template.
function tag_transform_ste( $tag, $lang )
Tests, if a name is a valid section name.
public static function test_name( $name )
Test, if a name is a valid Style name.
public static function test_name( $name )
Test, if a name is a valid tag name.
public static function test_name( $name )
Test, if a status is valid.
public static function test_status( $status )
Test, if a urlname is a valid urlname.
public static function test_urlname( $urlname )
Apply a textprocessor on a text.
function textprocessor_apply( $text, $textprocessor )
Applys a textprocessor automatically on a Translation object.
function textprocessor_apply_translation( $translationobj )
Register a textprocessor.
function textprocessor_register( $name, $fx, $visible_in_backend = True )
Transcompiles an abstract syntax tree to PHP.
function transcompile( $ast ) /* Transcompile and add some boilerplate code. */
Count elements of an array matching unser-defined rules.
function ucount( $array, $callback )
Generate an action that is an alias for another one (i.e.
function url_action_alias( $for )
Generate an action in a more simple way.
function url_action_simple( $function )
Generate an action that contains subactions.
function url_action_subactions( $actions )
Choose an appropiate action for the given URL.
function url_process( $url, $actions, & $data )