FolderAlreadyExistsException
extends Exception
in package
When we want to set parent of a folder and the given name already exists in the parent folder.
Table of Contents
Properties
Methods
- __construct() : mixed
- C'tor.
- getFolder() : IFolder
- Get the folder of the children in this parent.
- getName() : string
- Getter.
- getParentId() : int
- Getter.
Properties
$name
private
mixed
$name
$parent
private
mixed
$parent
Methods
__construct()
C'tor.
public
__construct(int $parent, string $name[, int $code = 0 ][, Exception $previous = null ]) : mixed
Parameters
- $parent : int
- $name : string
- $code : int = 0
- $previous : Exception = null
getFolder()
Get the folder of the children in this parent.
public
getFolder() : IFolder
Return values
IFoldergetName()
Getter.
public
getName() : string
Return values
stringgetParentId()
Getter.
public
getParentId() : int