aggrosoft/oxid-object-loader

Generic Object loader

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:oxideshop-module

1.0.2 2021-06-24 08:17 UTC

This package is auto-updated.

Last update: 2024-04-11 17:24:52 UTC


README

Adds methods to load objects from db inside of templates, small wrapper around oxNew for template usage

Usage

[{assign var=someVar value=$oViewConf->loadObject('someclass', 'oxid')]

Example

Load article object with oxid 123456789 into variable $myarticle

[{assign var=myarticle value=$oViewConf->loadObject('oxarticle', '123456789)}]