Futilities/human/lib/caMatchStandard: Difference between revisions
< Futilities | human | lib
Jump to navigation
Jump to search
(Created page with "{{fmt/title|Human Futilities: <code>caMatchStandard</code> class}} {| class=wikitable |- | {{l/same|caMatch}} ← {{l/same|caMatchStandard}} |} ==Conditions: API== * <code>...") |
No edit summary |
||
Line 11: | Line 11: | ||
* <code>protected function IsIgnorable(string $fn) : bool </code> | * <code>protected function IsIgnorable(string $fn) : bool </code> | ||
==Object== | ==Object== | ||
MatchRes is the result of looking for a matching string. If no such search is performed, this will not be set. (Might need to add a HasMatchRes() function.) | |||
* <code>protected function SetMatchRes({{l/same|cMatchResult}} $o) { $this->omRes = $o; }</code> | * <code>protected function SetMatchRes({{l/same|cMatchResult}} $o) { $this->omRes = $o; }</code> | ||
* <code>protected function GetMatchRes() : {{l/same|cMatchResult}} { return $this->omRes; }</code> | * <code>protected function GetMatchRes() : {{l/same|cMatchResult}} { return $this->omRes; }</code> |
Revision as of 22:00, 24 September 2022
Human Futilities:
caMatchStandard class |
caMatch ← caMatchStandard |
Conditions: API
public function IsFolderWanted(caPathNamed $of) : bool
public function IsFileWanted(caPathNamed $of) : bool
Conditions: Sub
protected function FileMatch(caPathNamed $of) : cMatchResult
protected function IsIgnorable(string $fn) : bool
Object
MatchRes is the result of looking for a matching string. If no such search is performed, this will not be set. (Might need to add a HasMatchRes() function.)
protected function SetMatchRes(cMatchResult $o) { $this->omRes = $o; }
protected function GetMatchRes() : cMatchResult { return $this->omRes; }