Updated API, renamed onParseMeta() to onParseMetaData()

This commit is contained in:
markseu 2022-05-08 11:12:36 +02:00
parent 75e1d7b523
commit f3c6303c08
3 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
// Core extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/core
class YellowCore {
const VERSION = "0.8.76";
const VERSION = "0.8.77";
const RELEASE = "0.8.19";
public $page; // current page
public $content; // content files
@ -492,7 +492,7 @@ class YellowPage {
$this->set("modified", date("Y-m-d H:i:s", $this->yellow->toolbox->getFileModified($this->fileName)));
}
foreach ($this->yellow->extension->data as $key=>$value) {
if (method_exists($value["object"], "onParseMeta")) $value["object"]->onParseMeta($this);
if (method_exists($value["object"], "onParseMetaData")) $value["object"]->onParseMetaData($this);
}
}

Binary file not shown.

View file

@ -21,11 +21,11 @@ Tag: feature
system/extensions/command.php: command.php, create, update
Extension: Core
Version: 0.8.76
Version: 0.8.77
Description: Core functionality of the website.
DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/core
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/core.zip
Published: 2022-05-03 13:03:22
Published: 2022-05-08 11:05:14
Developer: Datenstrom
Tag: feature
system/extensions/core.php: core.php, create, update