Spaces:
Sleeping
Sleeping
File size: 1,735 Bytes
07c3cdd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | <?php
namespace ProcessMaker\Plugins\Interfaces;
use ProcessMaker\Plugins\Traits\Attributes;
/**
* Class FolderDetail
* @package ProcessMaker\Plugins\Interfaces
*/
class FolderDetail
{
use Attributes;
private $Namespace;
private $FolderId;
private $FolderName;
/**
* This function is the constructor of the FolderDetail class
* @param string $Namespace
* @param string $FolderId
* @param string $FolderName
*/
public function __construct($Namespace, $FolderId, $FolderName)
{
$this->Namespace = $Namespace;
$this->FolderId = $FolderId;
$this->FolderName = $FolderName;
}
/**
* Get folder name
* @return string
*/
public function getFolderName()
{
return $this->FolderName;
}
/**
* Set folder name
* @param string $FolderName
*/
public function setFolderName($FolderName)
{
$this->FolderName = $FolderName;
}
/**
* Get name of plugin
* @return string
*/
public function getNamespace()
{
return $this->Namespace;
}
/**
* Set name of plugin
* @param string $Namespace
*/
public function setNamespace($Namespace)
{
$this->Namespace = $Namespace;
}
/**
* Check if folder id is equal to params
* @param string $folderId
* @return bool
*/
public function equalFolderIdTo($folderId)
{
return $folderId == $this->FolderId;
}
/**
* Check if name plugin is equal to params
* @param string $Namespace
* @return bool
*/
public function equalNamespaceTo($Namespace)
{
return $Namespace == $this->Namespace;
}
}
|