Commit d70fef11 by sversteg

Fixes #2 - Updated Codeigniter adapter added

Includes the bugfix for the problem as mentioned in the forums (http://forum.dwoo.org/viewtopic.php?pid=517#p517) git-svn-id: svn://dwoo.org/dwoo/trunk@255 0598d79b-80c4-4d41-97ba-ac86fbbd088b
parent 53a2ddf8
CodeIgniter/Dwoo adapater
-------------------------
Integration of Dwoo into Codeigniter (1.7.0 >)
Links:
Dwoo - http://dwoo.org
CodeIgniter - http://codeigniter.com
Installation:
1) Extract package into your application directory (i.e. $webroot/application or
$webroot/system/application)
2) Change the parameters in config/dwootemplate.php
3) Create the compile and cache directory you set in your config file in step 2
and give it the correct rights (chmod 777 when on *nix)
4) Extract/copy the Dwoo package into application/libraries/dwoo
5) Browse to : http://[yoururl]/dwoowelcome
Version info
1.0.2 [11-03-2009] Fixed a problem with $data attribute (which Dwoo also used)
1.0.1 [12-11-2008] Removed some & in the dwootemplate
Changed licencse
Changed 'output' in 'get' in the dwootemplate (line 122)
1.0.0 [11-11-2008] Initial release
Questions/Remarks?
mail to: stefan.verstege@newmedia.nl
IM me on GTALK: verstege@gmail.com
Contact me on the Dwoo forums: stefanv
---------[ copyright notice ]-----------------------------------------------------------------------
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
License http://dwoo.org/LICENSE Modified BSD License
\ No newline at end of file
<?php
// Call Dwoo_PluginTest::main() if this source file is executed directly.
if (!defined('PHPUnit_MAIN_METHOD')) {
define('PHPUnit_MAIN_METHOD', 'Dwoo_PluginTest::main');
}
require_once 'PHPUnit/Framework.php';
require_once 'Dwoo/Plugin.php';
/**
* Test class for Dwoo_Plugin.
* Generated by PHPUnit on 2009-03-11 at 11:28:30.
*/
class Dwoo_PluginTest extends PHPUnit_Framework_TestCase
{
/**
* @var Dwoo_Plugin
* @access protected
*/
protected $object;
/**
* Runs the test methods of this class.
*
* @access public
* @static
*/
public static function main()
{
require_once 'PHPUnit/TextUI/TestRunner.php';
$suite = new PHPUnit_Framework_TestSuite('Dwoo_PluginTest');
$result = PHPUnit_TextUI_TestRunner::run($suite);
}
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*
* @access protected
*/
protected function setUp()
{
$this->object = new Dwoo_Plugin;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*
* @access protected
*/
protected function tearDown()
{
}
/**
* @todo Implement testParamsToAttributes().
*/
public function testParamsToAttributes() {
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}
// Call Dwoo_PluginTest::main() if this source file is executed directly.
if (PHPUnit_MAIN_METHOD == 'Dwoo_PluginTest::main') {
Dwoo_PluginTest::main();
}
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment