PHP Class AmyController, aprilchild

Inheritance: extends ACBackend
Datei anzeigen Open project: aprilchild/aprilchild Class Usage Examples

Protected Properties

Property Type Description
$configuration
$connection
$projectConf
$user

Public Methods

Method Description
__construct ( $configuration = [] )
on_collaboration_accept ( $pars )
on_collaboration_get_unread_messages ( $pars )
on_collaboration_handle_message ( $pars )
on_collaboration_handle_transactions ( $pars )
on_collaboration_invite ( $pars ) #public
on_collaboration_stop ( $pars )
on_delete_bundle_command ( $pars )
on_delete_bundle_snippet ( $pars )
on_download_resource ( $pars ) #public
on_list_bundles ( $pars )
on_list_themes ( $pars )
on_load_bundle ( $pars )
on_load_language_definition_source ( $pars )
on_load_settings ( $pars ) #public
on_save_bundle_commands ( $pars )
on_save_bundle_snippets ( $pars )
on_user_change_picture ( $pars )
on_user_find_relations ( $pars )
on_user_register ( $pars )
on_user_remove_relation ( $pars )
on_user_sign_in ( $pars ) # _______ user management
on_user_sign_out ( $pars )
on_user_update_relation ( $pars )

Protected Methods

Method Description
authenticateUser ( $username, $password ) Authentication
canUserCreate ( $ticket, $uri ) CRUD scheme
canUserDelete ( $ticket, $uri )
canUserRead ( $ticket, $uri )
canUserWrite ( $ticket, $uri )
getOpenenedResources ( $ticket )
getResource ( $ticket, $path )
isAuthenticated ( $ticket )
setResource ( $ticket, $path, $content )

Private Methods

Method Description
fail_not_authenticated ( )
getFilenameByName ( $name )
stripFileName ( $name ) #private

Method Details

__construct() public method

public __construct ( $configuration = [] )

authenticateUser() protected method

Authentication
protected authenticateUser ( $username, $password )

canUserCreate() protected method

CRUD scheme
protected canUserCreate ( $ticket, $uri )

canUserDelete() protected method

protected canUserDelete ( $ticket, $uri )

canUserRead() protected method

protected canUserRead ( $ticket, $uri )

canUserWrite() protected method

protected canUserWrite ( $ticket, $uri )

getOpenenedResources() protected method

protected getOpenenedResources ( $ticket )

getResource() protected method

protected getResource ( $ticket, $path )

isAuthenticated() protected method

protected isAuthenticated ( $ticket )

on_collaboration_accept() public method

public on_collaboration_accept ( $pars )

on_collaboration_get_unread_messages() public method

on_collaboration_handle_message() public method

on_collaboration_handle_transactions() public method

on_collaboration_invite() public method

#public
public on_collaboration_invite ( $pars )

on_collaboration_stop() public method

public on_collaboration_stop ( $pars )

on_delete_bundle_command() public method

public on_delete_bundle_command ( $pars )

on_delete_bundle_snippet() public method

public on_delete_bundle_snippet ( $pars )

on_download_resource() public method

#public
public on_download_resource ( $pars )

on_list_bundles() public method

public on_list_bundles ( $pars )

on_list_themes() public method

public on_list_themes ( $pars )

on_load_bundle() public method

public on_load_bundle ( $pars )

on_load_language_definition_source() public method

on_load_settings() public method

#public
public on_load_settings ( $pars )

on_save_bundle_commands() public method

public on_save_bundle_commands ( $pars )

on_save_bundle_snippets() public method

public on_save_bundle_snippets ( $pars )

on_user_change_picture() public method

public on_user_change_picture ( $pars )

on_user_find_relations() public method

public on_user_find_relations ( $pars )

on_user_register() public method

public on_user_register ( $pars )

on_user_remove_relation() public method

public on_user_remove_relation ( $pars )

on_user_sign_in() public method

# _______ user management
public on_user_sign_in ( $pars )

on_user_sign_out() public method

public on_user_sign_out ( $pars )

on_user_update_relation() public method

public on_user_update_relation ( $pars )

setResource() protected method

protected setResource ( $ticket, $path, $content )

Property Details

$configuration protected_oe property

protected $configuration

$connection protected_oe property

protected $connection

$projectConf protected_oe property

protected $projectConf

$user protected_oe property

protected $user