aggrosoft / oxid-object-loader
Generic Object loader
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:oxideshop-module
Requires
- php: >=7.1
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)}]