{"table_name":"simple_calendarobjects","full_table_name":"wp_simple_calendarobjects","description":"Stores simple calendarobjects data created by this plugin.","detection_method":"static","confidence":"high","create_sql":"CREATE TABLE simple_calendarobjects ( * id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, * calendarid INT UNSIGNED NOT NULL, * uri VARBINARY(200) NOT NULL, * calendardata MEDIUMBLOB * ) * * To make this class work, you absolutely need to have the PropertyStorage * plugin enabled. * * @copyright Copyright (C) 2007-2015 fruux GmbH (https://fruux.com/). * @author Evert Pot (http://evertpot.com/) * @license http://sabre.io/license/ Modified BSD License */ class SimplePDO extends AbstractBackend { /** * pdo. * * @var \\PDO */ protected $pdo; /** * Creates the backend. */ public function __construct(\\PDO $pdo) { $this->pdo = $pdo; } /** * Returns a list of calendars for a principal. * * Every project is an array with the following keys: * * id, a unique id that will be used by other functions to modify the * calendar. This can be the same as the uri or a database key. * * uri. This is just the 'base uri' or 'filename' of the calendar. * * principaluri. The owner of the calendar. Almost always the same as * principalUri passed to this method. * * Furthermore it can contain webdav properties in clark notation. A very * common one is '{DAV:}displayname'. * * Many clients also require: * {urn:ietf:params:xml:ns:caldav}supported-calendar-component-set * For this property, you can just return an instance of * Sabre\\CalDAV\\Xml\\Property\\SupportedCalendarComponentSet. * * If you return {http://sabredav.org/ns}read-only and set the value to 1, * ACL will automatically be put in read-only mode. * * @param string $principalUri * * @return array */ public function getCalendarsForUser($principalUri) { // Making fields a comma-delimited list $stmt = $this->pdo->prepare('SELECT id, uri FROM simple_calendars WHERE principaluri = ? ORDER BY id ASC');","columns":[{"name":"uri","type":"FROM","nullable":true,"primary_key":false}],"plugin":{"slug":"xcloner-backup-and-restore","name":"Backup, Restore and Migrate your sites with XCloner","active_installs":10000,"version":"4.8.6","wp_org_url":"https://wordpress.org/plugins/xcloner-backup-and-restore/"}}