src/allejo/stakx/Document/DataItem.php 1 location
|
@@ 168-171 (lines=4) @@
|
| 165 |
|
{ |
| 166 |
|
$fxnCall = 'get' . ucfirst($offset); |
| 167 |
|
|
| 168 |
|
if (in_array($fxnCall, FrontMatterDocument::$whiteListedFunctions) && method_exists($this, $fxnCall)) |
| 169 |
|
{ |
| 170 |
|
return call_user_func_array([$this, $fxnCall], []); |
| 171 |
|
} |
| 172 |
|
|
| 173 |
|
if (isset($this->data[$offset])) { |
| 174 |
|
return $this->data[$offset]; |
src/allejo/stakx/Document/FrontMatterDocument.php 1 location
|
@@ 312-315 (lines=4) @@
|
| 309 |
|
|
| 310 |
|
$fxnCall = 'get' . ucfirst($offset); |
| 311 |
|
|
| 312 |
|
if (in_array($fxnCall, self::$whiteListedFunctions) && method_exists($this, $fxnCall)) |
| 313 |
|
{ |
| 314 |
|
return call_user_func_array([$this, $fxnCall], []); |
| 315 |
|
} |
| 316 |
|
|
| 317 |
|
if (isset($this->frontMatter[$offset])) |
| 318 |
|
{ |