Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aggrosoft/oxid-object-loader
Adds methods to load objects from db inside of templates
https://github.com/aggrosoft/oxid-object-loader
Last synced: 8 days ago
JSON representation
Adds methods to load objects from db inside of templates
- Host: GitHub
- URL: https://github.com/aggrosoft/oxid-object-loader
- Owner: aggrosoft
- License: mit
- Created: 2021-06-24T07:58:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-24T08:17:50.000Z (over 3 years ago)
- Last Synced: 2024-11-09T03:43:15.898Z (2 months ago)
- Language: PHP
- Size: 46.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# oxid-object-loader
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)}]`