Futilities/human/lib/caMatchStandard: Difference between revisions

From Woozle Writes Code
< Futilities‎ | human‎ | lib
Jump to navigation Jump to search
 
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 searching file contents for matches to the requested content-mask. If no such search is performed, this will not be set. (Might need to add a HasMatchRes() function.)
TextMatch is the result of searching file contents for matches to the requested content-mask. 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 SetTextMatch({{l/same|cMatchResult}} $o) { $this->omRes = $o; }</code>
* <code>protected function GetMatchRes() : {{l/same|cMatchResult}} { return $this->omRes; }</code>
* <code>protected function GetTextMatch() : {{l/same|cMatchResult}} { return $this->omRes; }</code>

Latest revision as of 12:44, 25 September 2022

Human Futilities: caMatchStandard class
caMatchcaMatchStandard

Conditions: API

Conditions: Sub

Object

TextMatch is the result of searching file contents for matches to the requested content-mask. If no such search is performed, this will not be set. (Might need to add a HasMatchRes() function.)

  • protected function SetTextMatch(cMatchResult $o) { $this->omRes = $o; }
  • protected function GetTextMatch() : cMatchResult { return $this->omRes; }