class FileFolderItem extends Item (View source)

Properties

protected string $url from  Item
protected string $name from  Item
protected bool $isActive from  Item
protected bool $isActiveParent from  Item
protected Item[] $children from  Item
protected int $folderId

Methods

__construct(FileFolder $folder)

Item constructor.

string
getUrl()

No description

from  Item
string
getName()

No description

from  Item
bool
isActive()

No description

from  Item
FileFolderItem[]
getChildren()

No description

void
setChildren(array $children)

No description

from  Item
addChild(Item $item)

No description

from  Item
void
setUrl(string $url)

No description

from  Item
void
setName(string $name)

No description

from  Item
void
setIsActive(bool $isActive)

No description

from  Item
bool
isActiveParent()

No description

from  Item
void
setIsActiveParent(bool $isActiveParent)

No description

from  Item
jsonSerialize()

No description

__clone()

No description

from  Item
int
getFolderId()

No description

void
setFolderId(int $folderId)

No description

Details

__construct(FileFolder $folder)

Item constructor.

Parameters

FileFolder $folder

string getUrl()

No description

Return Value

string

string getName()

No description

Return Value

string

bool isActive()

No description

Return Value

bool

FileFolderItem[] getChildren()

No description

Return Value

FileFolderItem[]

void setChildren(array $children)

No description

Parameters

array $children

Return Value

void

addChild(Item $item)

No description

Parameters

Item $item

void setUrl(string $url)

No description

Parameters

string $url

Return Value

void

void setName(string $name)

No description

Parameters

string $name

Return Value

void

void setIsActive(bool $isActive)

No description

Parameters

bool $isActive

Return Value

void

bool isActiveParent()

No description

Return Value

bool

void setIsActiveParent(bool $isActiveParent)

No description

Parameters

bool $isActiveParent

Return Value

void

jsonSerialize()

No description

__clone()

No description

int getFolderId()

No description

Return Value

int

void setFolderId(int $folderId)

No description

Parameters

int $folderId

Return Value

void