YaWK
24.1
Yet another WebKit
|
TipOfDay class serve functions to get and draw a tip of the day. More...
Public Member Functions | |
drawTip ($db, $lang) | |
Draw tip of the day. More... | |
Public Attributes | |
$id = 1 | |
$published = 1 | |
$sortation = 0 | |
$tipClass = "" | |
$tipHeading = "" | |
$tipLink = "" | |
$tipText = "" | |
Additional Inherited Members | |
![]() | |
static | draw ($type, $title, $text, $redirect, $delay) |
TipOfDay class serve functions to get and draw a tip of the day.
Display the tip of the day. (if enabled)
This class handles all tip of the day functions. Tips are stored in cms_tips database. Example: <?php YAWK\tipOfDay::displayRandom($db); ?>
To show a random tip of the day.
Class covers backend functionality. See Methods Summary for Details!
Definition at line 20 of file tipOfDay.php.
YAWK\tipOfDay::drawTip | ( | $db, | |
$lang | |||
) |
Draw tip of the day.
object | $db | database object |
array | $lang | language array |
Definition at line 180 of file tipOfDay.php.
References $db, $lang, YAWK\tipOfDay\$tipHeading, YAWK\tipOfDay\$tipText, and YAWK\alert\draw().
YAWK\tipOfDay::$id = 1 |
Definition at line 22 of file tipOfDay.php.
YAWK\tipOfDay::$published = 1 |
Definition at line 23 of file tipOfDay.php.
YAWK\tipOfDay::$sortation = 0 |
Definition at line 24 of file tipOfDay.php.
YAWK\tipOfDay::$tipClass = "" |
Definition at line 25 of file tipOfDay.php.
YAWK\tipOfDay::$tipHeading = "" |
Definition at line 26 of file tipOfDay.php.
Referenced by YAWK\tipOfDay\drawTip().
YAWK\tipOfDay::$tipLink = "" |
Definition at line 28 of file tipOfDay.php.
YAWK\tipOfDay::$tipText = "" |
Definition at line 27 of file tipOfDay.php.
Referenced by YAWK\tipOfDay\drawTip().