Академический Документы
Профессиональный Документы
Культура Документы
Contents
1 ADOdb Date Library, part of the ADOdb abstraction library
2 Crossbrowser DHTML functions
3 FCKeditor
4 PHPMailer
5 PEAR::Services_JSON
6 Prototype javascript library
7 Prototype window class javascript library
8 Script.aculo.us javascript library
9 Rico javascript library
10 Simpletest test framework
11 Smarty
12 The DHTML / JavaScript Calendar
13 The PhpCaptcha class by Edward Eliot
FCKeditor
Description: WYSIWYG editor.
Usage:
$this->add(new atkFckAttribute('text'));
URL: http://www.fckeditor.net/
Latest version in ATK: 2.2
Available since: ATK 5.2.0
PHPMailer
Description:
Usage:
You can use the PHPMailer by calling the atkMailer, which is a wrapper for the PHPMailer. See example
below:
$mailer = atknew('atk.utils.atkmailer');
$mailer->isHtml(true);
$mailer->AddAddress("mailto@mail.org");
$mailer->FromName = "ATK Application Mailer";
$mailer->From = 'mailer@achievo.org';
$mailer->Subject = 'Welcome to the ATK Application!';
$mailer->Body = nl2br('Welcome to the ATK Application
We, the team, wish to thank you for making use of our ATK Application.
Yours Truly,
The Team.');
$mailer->Send();
You can use all the methods described in the PHPMailer documentation.
URL: http://phpmailer.sourceforge.net/
Latest version in ATK: 1.73
Available since: ATK 5.6
PEAR::Services_JSON
Description:
Usage:
URL: http://pear.php.net/pepr/pepr-proposal-show.php?id=198
Latest version in ATK: 1.1
Available since: ATK saruman branch (unreleased)
pfPage::register_javascript_file($config_platformroot."atk/javascript/window/window.js", false);
pfPage::register_stylesheet_file(".".$config_platformroot."atk/javascript/window/themes/default.css", false);
pfPage::register_stylesheet_file(".".$config_platformroot."atk/javascript/window/themes/alphacube.css", false);
In javascript-file (see URL for other examples):
URL: http://prototype-window.xilinus.com/
Latest version in ATK: 0.96.2
Available since: ATK 5.7
Smarty
Description:
Usage: You can use Smarty like this:
$smarty = atkSmarty::getInstance();
$smarty->assign('var','great');
$parsed_template = $smarty->fetch(moduleDir('mymodule').'templates/mytemplate.tpl');
$smarty = atkSmarty::getInstance();
$smarty->assign('var','great');
$parsed_template = $smarty->fetch('string: ATK is {$var}!');
URL: http://smarty.php.net/
Latest version in ATK: 2.6.11
Available since: ATK 5.0