Spaces:
Sleeping
Sleeping
processmaker-community / processmaker-files /workflow /engine /src /ProcessMaker /Plugins /Interfaces /CssFile.php
Download processmaker-files/workflow/engine/src/ProcessMaker/Plugins/Interfaces/CssFile.php from kenken999/processmaker-community: direct link, hf CLI and curl.
- Browser
- Download file 1.26 kB
-
https://huggingface.co/spaces/kenken999/processmaker-community/resolve/main/processmaker-files/workflow/engine/src/ProcessMaker/Plugins/Interfaces/CssFile.php
- Command line
-
hf download hf://spaces/kenken999/processmaker-community/processmaker-files/workflow/engine/src/ProcessMaker/Plugins/Interfaces/CssFile.php
-
curl -L -o CssFile.php https://huggingface.co/spaces/kenken999/processmaker-community/resolve/main/processmaker-files/workflow/engine/src/ProcessMaker/Plugins/Interfaces/CssFile.php
1.26 kB
| namespace ProcessMaker\Plugins\Interfaces; | |
| use ProcessMaker\Plugins\Traits\Attributes; | |
| /** | |
| * Class CssFile | |
| * @package ProcessMaker\Plugins\Interfaces | |
| */ | |
| class CssFile | |
| { | |
| use Attributes; | |
| private $Namespace; | |
| private $CssFile; | |
| /** | |
| * This function is the constructor of the CssFile class | |
| * @param string $Namespace | |
| * @param string $CssFile | |
| */ | |
| public function __construct($Namespace, $CssFile) | |
| { | |
| $this->Namespace = $Namespace; | |
| $this->CssFile = $CssFile; | |
| } | |
| /** | |
| * Get css file | |
| * @return string | |
| */ | |
| public function getCssFile() | |
| { | |
| return $this->CssFile; | |
| } | |
| /** | |
| * Set css file | |
| * @param string $CssFile | |
| */ | |
| public function setCssFile($CssFile) | |
| { | |
| $this->CssFile = $CssFile; | |
| } | |
| /** | |
| * Check if css file is equal to params | |
| * @param string $CssFile | |
| * @return bool | |
| */ | |
| public function equalCssFileTo($CssFile) | |
| { | |
| return $CssFile == $this->CssFile; | |
| } | |
| /** | |
| * Check if name plugin is equal to params | |
| * @param string $Namespace | |
| * @return bool | |
| */ | |
| public function equalNamespaceTo($Namespace) | |
| { | |
| return $Namespace == $this->Namespace; | |
| } | |
| } | |