Documentation

Org
in package

Table of Contents

Properties

$id  : int

Methods

__construct()  : mixed
Access one Organization defined by id.
entity()  : Org
return Entity\Org
id()  : int
pipe()  : Pipe
return a pipe from the Organization(id) and throw Exception if not found.
pipes()  : array<string|int, mixed>
return the Organization Pipes Array.
table()  : Pipe
return a table from the Organization(id) and throw Exception if not found.
tables()  : array<string|int, mixed>
return the Organization Tables Array.
update()  : bool
update the organization(id) data.

Properties

Methods

__construct()

Access one Organization defined by id.

public __construct(int $id) : mixed
Parameters
$id : int

entity()

return Entity\Org

public entity() : Org
Return values
Org

id()

public id() : int
Return values
int

pipe()

return a pipe from the Organization(id) and throw Exception if not found.

public pipe(int $id) : Pipe
Parameters
$id : int
Return values
Pipe

pipes()

return the Organization Pipes Array.

public pipes() : array<string|int, mixed>
Return values
array<string|int, mixed>

table()

return a table from the Organization(id) and throw Exception if not found.

public table(int $id) : Pipe
Parameters
$id : int
Return values
Pipe

tables()

return the Organization Tables Array.

public tables() : array<string|int, mixed>
Return values
array<string|int, mixed>

update()

update the organization(id) data.

public update(Org $org) : bool

throw an Exception if you try to update and organization using an entity with different id that you set on constructor.

Parameters
$org : Org
Return values
bool

        
On this page

Search results