Manage website-section maps in an Onpub database.
This class contains the methods to manage the data contained in an OnpubWSMaps table. An OnpubWSMaps table maps website IDs to section IDs. This allows Onpub to do the following without any duplication of website/section data:
Located in /OnpubWSMaps.php (line 21)
Connect to an Onpub database.
All the methods in this class which query the database use the database connection provided by the PDO object required by this constructor. Currently, Onpub only supports MySQL as a database for storing content. Therefore, when constructing the PDO object, only the PDO_MYSQL driver is supported as a PDO data source.
All the methods in this class require the Onpub schema to be installed in the PDO-connected database. The OnpubDatabase class contains methods to manage the Onpub schema. The Onpub schema can also be installed by clicking the "Install the schema" link once logged in to the Onpub web interface. The schema generally only has to be installed once per database.
Documentation generated on Fri, 08 Feb 2013 04:02:27 -0500 by phpDocumentor 1.4.4