PHP Class AmyController, aprilchild

Inheritance: extends ACBackend
Afficher le fichier Open project: aprilchild/aprilchild Class Usage Examples

Protected Properties

Свойство Type Description
$configuration
$connection
$projectConf
$user

Méthodes publiques

Méthode 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 )

Méthodes protégées

Méthode 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

Méthode Description
fail_not_authenticated ( )
getFilenameByName ( $name )
stripFileName ( $name ) #private

Method Details

__construct() public méthode

public __construct ( $configuration = [] )

authenticateUser() protected méthode

Authentication
protected authenticateUser ( $username, $password )

canUserCreate() protected méthode

CRUD scheme
protected canUserCreate ( $ticket, $uri )

canUserDelete() protected méthode

protected canUserDelete ( $ticket, $uri )

canUserRead() protected méthode

protected canUserRead ( $ticket, $uri )

canUserWrite() protected méthode

protected canUserWrite ( $ticket, $uri )

getOpenenedResources() protected méthode

protected getOpenenedResources ( $ticket )

getResource() protected méthode

protected getResource ( $ticket, $path )

isAuthenticated() protected méthode

protected isAuthenticated ( $ticket )

on_collaboration_accept() public méthode

public on_collaboration_accept ( $pars )

on_collaboration_get_unread_messages() public méthode

on_collaboration_handle_message() public méthode

on_collaboration_handle_transactions() public méthode

on_collaboration_invite() public méthode

#public
public on_collaboration_invite ( $pars )

on_collaboration_stop() public méthode

public on_collaboration_stop ( $pars )

on_delete_bundle_command() public méthode

public on_delete_bundle_command ( $pars )

on_delete_bundle_snippet() public méthode

public on_delete_bundle_snippet ( $pars )

on_download_resource() public méthode

#public
public on_download_resource ( $pars )

on_list_bundles() public méthode

public on_list_bundles ( $pars )

on_list_themes() public méthode

public on_list_themes ( $pars )

on_load_bundle() public méthode

public on_load_bundle ( $pars )

on_load_language_definition_source() public méthode

on_load_settings() public méthode

#public
public on_load_settings ( $pars )

on_save_bundle_commands() public méthode

public on_save_bundle_commands ( $pars )

on_save_bundle_snippets() public méthode

public on_save_bundle_snippets ( $pars )

on_user_change_picture() public méthode

public on_user_change_picture ( $pars )

on_user_find_relations() public méthode

public on_user_find_relations ( $pars )

on_user_register() public méthode

public on_user_register ( $pars )

on_user_remove_relation() public méthode

public on_user_remove_relation ( $pars )

on_user_sign_in() public méthode

# _______ user management
public on_user_sign_in ( $pars )

on_user_sign_out() public méthode

public on_user_sign_out ( $pars )

on_user_update_relation() public méthode

public on_user_update_relation ( $pars )

setResource() protected méthode

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