}
protected function setProperties( $pageID, $properties ) {
-
$rows = [];
foreach ( $properties as $propertyName => $propertyValue ) {
-
$row = [
'pp_page' => $pageID,
'pp_propname' => $propertyName,
}
protected function setProperty( $pageID, $propertyName, $propertyValue ) {
-
$properties = [];
$properties[$propertyName] = $propertyValue;
$this->setProperties( $pageID, $properties );
-
}
}