direct access to OXID framework functions

direct access to OXID framework functions

There are lots of functions in OXID framework, that developers can/should use in their modules, e.g. for retrieving request parameters, getting shop configuration settings, formating currencies, translating language idents or saving something into the database.

Module development is a try and error process, while you are searching for suitable functions, checking data types, retrieving objects, converting and verifying data over and over again. Every code change is followed by uploading new files, reloading page, sometimes also clearing cache or processing couple of steps to reproduce the situation.

But what if you could call php functions and view their results in admin panel?

That would make the development process a lot faster and easier, since you could call php functions and instantly see returned data without leaving admin panel.
Dev-console grants you direct access to the most framework functions (except functions of frontend view classes), so you can quickly view configuration parameters, create new objects or load existing articles and categories from database to test their functions, manipulate data or run some basic jobs.

Here are some more examples:

direct access to OXID framework functions
view configuration parameters from oxConfig table
direct access to OXID framework functions
create and load every model and use its functions
direct access to OXID framework functions
you can access your saved basket with $basket
direct access to OXID framework functions
other predefined variables: $order is your last order, $me is your user, $session is your actual session, $cfg is oxConfig

 

 

 

0.00 avg. rating (0% score) - 0 votes
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *