PropertyManager¶
Der PropertyManager regelt den Zugriff auf die Eigenschaften aller Daten.
Objektreferenz¶
PropertyManager::getInstance()
Beschreibung
Neues Objekt erstellen
$propertyManager = \Alvine\Application\Platform\Bridge\PropertyManager::getInstance();
Rückgabewert
Gibt ein neues
Objectvom Typ\Alvine\Application\Platform\Bridge\PropertyManagerzurück.
PropertyManager->get($table, $oid, $name, $language, $country)
Beschreibung
Eigenschaft laden
$propertyManager->get('pb_item_properties', 1425, 'careinstructions.buegeln.b2');
Parameter-Liste
table (string)
Name der Tabelle.
oid (integer)
Objekt ID
name (string)
Name der Eigenschaft
language (string)
Sprache (optional)
country (string)
Land (optional)
Rückgabewert
Gibt eine neue Eigenschaft
\Alvine\Application\Platform\Bridge\Core\Propertyzurück.
PropertyManager->getFromProperty($property)
Beschreibung
Bequemlichkeits Function, für die Methode "get" mit der Übergabe einer Eigenschaft
$property=$propertyManager->getFromProperty(new \Alvine\Application\Platform\Bridge\Core\Property('pb_item_properties', 1425, 'careinstructions.buegeln.b2'));
Parameter-Liste
property (AlvineApplicationPlatformBridgeCoreProperty)
Eigenschaft
Rückgabewert
Gibt eine neue Eigenschaft
\\Alvine\Application\Platform\Bridge\Core\Propertyzurück.
PropertyManager->replace($property)
Beschreibung
legt eine neue Eigenschaft an oder ändert diese
$property=new \Alvine\Application\Platform\Bridge\Core\Property('pb_item_properties', 1425, 'careinstructions.buegeln.b2','on');
$propertyManager->replace($property);
Parameter-Liste
property (AlvineApplicationPlatformBridgeCoreProperty)
Eigenschaft
Rückgabewert
Gibt sich selbst
\Alvine\Application\Platform\Bridge\PropertyManagerzurück.