Nextcloud Circles API

ModelManager
in package
Uses TNCLogger

Class ModelManager

Table of Contents

$ALERT  : mixed
$CRITICAL  : mixed
$DEBUG  : mixed
$EMERGENCY  : mixed
$ERROR  : mixed
$INFO  : mixed
$NOTICE  : mixed
$WARNING  : mixed
$appManager  : IAppManager
$circleRequest  : CircleRequest
$configService  : ConfigService
$coreRequestBuilder  : CoreQueryBuilder
$fullDetails  : bool
$interfaceService  : InterfaceService
$memberRequest  : MemberRequest
$membershipRequest  : MembershipRequest
$membershipService  : MembershipService
$pathLinkGenerated  : bool
$pathLinkGeneration  : string
$remoteService  : RemoteService
$urlGenerator  : IURLGenerator
__construct()  : mixed
ModelManager constructor.
alert()  : void
debug()  : void
e()  : void
emergency()  : void
exception()  : void
fixInstance()  : string
generateLinkToCircle()  : string
getConfigService()  : ConfigService
getInheritedMembers()  : void
getLink()  : Membership
getLocalInstance()  : string
getMembers()  : void
getMemberships()  : void
getRemoteInheritedMembers()  : void
isFullDetails()  : bool
isLocalInstance()  : bool
log()  : void
logger()  : LoggerInterface
manageImportFromDatabase()  : void
notice()  : void
setFullDetails()  : void
t()  : void
throwable()  : void
warning()  : void
importBasedOnPath()  : mixed
importIntoCircle()  : void
importIntoFederatedUser()  : void
importIntoMember()  : void
importIntoMount()  : void
importIntoShareWrapper()  : void

Properties

$EMERGENCY

public static mixed $EMERGENCY = 4

$coreRequestBuilder

private CoreQueryBuilder $coreRequestBuilder

$membershipRequest

private MembershipRequest $membershipRequest

$pathLinkGenerated

private bool $pathLinkGenerated = false

$pathLinkGeneration

private string $pathLinkGeneration = ''

Methods

__construct()

ModelManager constructor.

public __construct(IURLGenerator $urlGenerator, IAppManager $appManager, CoreQueryBuilder $coreRequestBuilder, CircleRequest $circleRequest, MemberRequest $memberRequest, MembershipRequest $membershipRequest, InterfaceService $interfaceService, MembershipService $membershipService, RemoteService $remoteService, ConfigService $configService) : mixed
Parameters
$urlGenerator : IURLGenerator
$appManager : IAppManager
$coreRequestBuilder : CoreQueryBuilder
$circleRequest : CircleRequest
$memberRequest : MemberRequest
$membershipRequest : MembershipRequest
$interfaceService : InterfaceService
$membershipService : MembershipService
$remoteService : RemoteService
$configService : ConfigService
Return values
mixed

alert()

public alert(string $message[, bool $trace = false ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
$message : string
$trace : bool = false
$serializable : array<string|int, mixed> = []
Return values
void

debug()

public debug(string $message[, array<string|int, mixed> $serializable = [] ]) : void
Parameters
$message : string
$serializable : array<string|int, mixed> = []
Return values
void

e()

public e(Exception $e[, array<string|int, mixed> $serializable = [] ]) : void
Parameters
$e : Exception
$serializable : array<string|int, mixed> = []
Return values
void

emergency()

public emergency(string $message[, bool $trace = false ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
$message : string
$trace : bool = false
$serializable : array<string|int, mixed> = []
Return values
void

exception()

public exception(Exception $e[, int|array<string|int, mixed> $level = 3 ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
$e : Exception
$level : int|array<string|int, mixed> = 3
$serializable : array<string|int, mixed> = []
Return values
void

generateLinkToCircle()

public generateLinkToCircle(string $singleId) : string
Parameters
$singleId : string
Return values
string

getInheritedMembers()

public getInheritedMembers(Circle $circle[, bool $detailed = false ]) : void
Parameters
$circle : Circle
$detailed : bool = false
Return values
void

getLocalInstance()

public getLocalInstance() : string
Return values
string

isFullDetails()

public isFullDetails() : bool
Return values
bool

isLocalInstance()

public isLocalInstance(string $instance) : bool
Parameters
$instance : string
Return values
bool

log()

public log(int $level, string $message[, bool $trace = false ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
$level : int
$message : string
$trace : bool = false
$serializable : array<string|int, mixed> = []
Return values
void

logger()

public logger() : LoggerInterface
Return values
LoggerInterface

manageImportFromDatabase()

public manageImportFromDatabase(ManagedModel $model, array<string|int, mixed> $data, string $base) : void
Parameters
$model : ManagedModel
$data : array<string|int, mixed>
$base : string
Return values
void

notice()

public notice(string $message[, bool $trace = false ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
$message : string
$trace : bool = false
$serializable : array<string|int, mixed> = []
Return values
void

setFullDetails()

public setFullDetails(bool $full) : void
Parameters
$full : bool
Return values
void

t()

public t(Throwable $t[, array<string|int, mixed> $serializable = [] ]) : void
Parameters
$t : Throwable
$serializable : array<string|int, mixed> = []
Return values
void

throwable()

public throwable(Throwable $t[, int $level = 3 ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
$t : Throwable
$level : int = 3
$serializable : array<string|int, mixed> = []
Return values
void

warning()

public warning(string $message[, bool $trace = false ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
$message : string
$trace : bool = false
$serializable : array<string|int, mixed> = []
Return values
void

importBasedOnPath()

private importBasedOnPath(ManagedModel $model, array<string|int, mixed> $data, string $path, string $prefix) : mixed
Parameters
$model : ManagedModel
$data : array<string|int, mixed>
$path : string
$prefix : string
Return values
mixed

importIntoCircle()

private importIntoCircle(Circle $circle, array<string|int, mixed> $data, string $path, string $prefix) : void
Parameters
$circle : Circle
$data : array<string|int, mixed>
$path : string
$prefix : string
Return values
void

importIntoFederatedUser()

private importIntoFederatedUser(FederatedUser $federatedUser, array<string|int, mixed> $data, string $path, string $prefix) : void
Parameters
$federatedUser : FederatedUser
$data : array<string|int, mixed>
$path : string
$prefix : string
Return values
void

importIntoMember()

private importIntoMember(Member $member, array<string|int, mixed> $data, string $path, string $prefix) : void
Parameters
$member : Member
$data : array<string|int, mixed>
$path : string
$prefix : string
Return values
void

importIntoMount()

private importIntoMount(Mount $mount, array<string|int, mixed> $data, string $path, string $prefix) : void
Parameters
$mount : Mount
$data : array<string|int, mixed>
$path : string
$prefix : string
Return values
void

importIntoShareWrapper()

private importIntoShareWrapper(ShareWrapper $shareWrapper, array<string|int, mixed> $data, string $path, string $prefix) : void
Parameters
$shareWrapper : ShareWrapper
$data : array<string|int, mixed>
$path : string
$prefix : string
Return values
void

Search results