YaWK
24.1
Yet another WebKit
|
This class serves methods to create backup from files. More...
Namespaces | |
BACKEND | |
BACKUP | |
FRAMEWORK | |
PLUGINS | |
WIDGETS | |
Classes | |
class | alert |
Throws a fancy Bootstrap Alert (success, info, warning or danger) More... | |
class | backend |
Backend class serves a few useful functions for the admin backend. More... | |
class | controller |
The controller function returns filtered filename as string (or null). More... | |
class | db |
Mysqli database class; returns db connection object. More... | |
class | editor |
Load editor settings, required javascript and html markup. More... | |
class | |
Email class serve function sendEmail() to send email. More... | |
class | filemanager |
Basic File Manager (Backend) More... | |
class | installer |
This class handles the setup / installation process. More... | |
class | language |
The language class - support multilingual backend. More... | |
class | licenses |
License Generator Class. More... | |
class | menu |
The default menu class. Serves all the menu functions. More... | |
class | page |
The default pages class. Provide all functions to handle static pages. More... | |
class | plugin |
Handles the Plugin System. More... | |
class | search |
Backend search class. More... | |
class | settings |
Settings class: get and set YaWK system settings. More... | |
class | SimpleImage |
class | stats |
Statistics - get and set user and page stats. More... | |
class | sys |
The sys class - handles yawk's system core functions. More... | |
class | template |
The template controller - get and set template settings. More... | |
class | tipOfDay |
TipOfDay class serve functions to get and draw a tip of the day. More... | |
class | update |
The update class - handles yawk's system update functions. More... | |
class | user |
The default user class. Provide all functions to handle the user object. More... | |
class | webmail |
Integrated IMAP Webmail. More... | |
class | widget |
Widgets are small, useful tools that you can include everywhere in your website. More... | |
Variables | |
return | true |
This class serves methods to create backup from files.
Backup Main Class.
This class serves methods to store and retrieve mysql database.
YaWK Backup Component: File Backup Class
Methods to backup folders and files
YaWK Backup Component: Database Class
Methods to backup and restore all or partial data from mysql database. This class makes use of ifsnop\mysqldump-php by diego torres. His work make possible to ensure that this backup component works with all typical webhosting configurations. (Especially those who do not allow shell or forbid the use of mysqldump.) This class should work in mostly any situation. Thank you, Diego Torres!
Backup Class
Methods to backup and restore complete or partial project data including: pages folder, media folder, system folder and database. The Backup can be stored and overwritten in current Folder. Otherwise it is possible to archive any backup. To do this, you can create a new folder to store the backup within.
Use Facebook Graph API to get Events from a Facebook Page. Require App ID and Access Token.
With this widget, you are able to embed events from your facebook page onto your website. It helps you to keep your website up to date. Have you ever been bored of adding the same content twice? Previously it was like that: Add a event on facebook, invite your friends, add this date to your website. This plugin makes it easy for you to keep focused on your social activities. If you change your facebook event, the data on your website will be updated automatically. No matter if it's the event date, time title, cover image or something else.
You need an APP ID, as well as an access token for the facebook page you want to embed events from. For reasons, you (respectively the app id / access token) needs administrative access rights to the facebook page you want to grab events from. Create a new fb event widget in the backend, enter app id, access token and your page id (facebook.com/YOURPAGE) and you're good to go. Experiment with the settings to fit your needs.
This class only got 2 important methods: the constructor, which loads the settings for this widget, as well as the display() method. It connects to facebook, gets the data, walk through the array and manage the output of your events. This method could surely be more abstract. Code Improvement and abstraction will implemented due future updates on this class. A pragmatical approach - for now.