VirtueMart Developer ManualSoeren Eberhardt(www.virtuemart.net [http://www.virtuemart.net])Copyright © 2005 Soeren EberhardtThis document is published
Figure 1. Entitiy Relationship DiagramVirtueMart Developer Manual10
3.5. Database AccessVM uses its own database access class for dealing with the database.The database class file is/administrator/components/com_virtue
• jos_users contains BillTo Address Information• jos_vm_user_info contains ShipTo Address Information (when the customer has added ShipTo Ad-dresses)•
Browse (or product listing) templates can be found in /html/templates/browse/.They are loaded and filled with content in the file /html/shop.browse.ph
5.1. Payment ModulesThere are two general types of payment modules in VM:• automatic credit card processors which do server-to-server communication be
CautionThe code inside this form MUST BE VALID! If you use PHP code, check if you have written correctcode that can be parsed!5.1.2. Digging deeper: T
false if notboolean configfile_writeable( void )returns true if the configuration file for that payment module is writeable,false if notboolean config
You must have three files, called• myShipping.php (including the class myShipping)• myShipping.ini (containing the Name of the Module & the Author
Please always change configuration variables in both functions: show_configuration andwrite_configuration!5.2.3. Installing a Shipping ModuleShipping
DocBook [http://www.docbook.org] XML Format.DocBook defines a set of markup elements useful for marking up text so that the text can then be transform
2.2. Differences to phpShopVM still contains some code parts from phpShop, but experiences phpShop coders will see similarities.So when you have exper
Joomla provides a framework with session handling - no need to have an own session class! No hid-den_session() calls are needed anymore. The existing
/administrator/components/com_virtuemart/classes/shipping/Contains Shipping Modules & their informational Files/administrator/components/com_virtu
• virtuemart_parser.php (the central file for VM, preparesthe session, authentication, cart & runs functions)• show_image_in_imgtag.php (used to d
Core modules are listed in the table mos_vm_modules.Calling index.php?com_virtuemart&page=shop.browse in your Joomla site would let VM includethe
If you wonder what the variable $vars is: it's just a working copy of the superglobal $_REQUEST Array andused as the array $d inside of the funct
"Logging" means to log a message to display them to the user. While a function is executed (because its execu-tion was triggered by the vari
•$vmLogger->tip( 'My advice to the user' ); // Used to display Advice messages to the user3.4. Database StructureAs said before, all Tabl
Kommentare zu diesen Handbüchern