Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
Dwoo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Common
Dwoo
Commits
eeef80e6
Commit
eeef80e6
authored
Sep 08, 2008
by
Seldaek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fixes Agavi adapter's plugin_dir parameter handling
git-svn-id:
svn://dwoo.org/dwoo/trunk@173
0598d79b-80c4-4d41-97ba-ac86fbbd088b
parent
bd14bd1c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
DwooRenderer.php
lib/Dwoo/Adapters/Agavi/DwooRenderer.php
+15
-1
No files found.
lib/Dwoo/Adapters/Agavi/DwooRenderer.php
View file @
eeef80e6
...
...
@@ -38,7 +38,6 @@
* {@link http://www.gnu.org/copyleft/lesser.html}
*
* @author Jordi Boggiano <j.boggiano@seld.be>
* @author David Zülke <dz@bitxtender.com>
* @copyright Copyright (c) 2008, Jordi Boggiano
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
* @link http://dwoo.org/
...
...
@@ -77,6 +76,8 @@ class DwooRenderer extends AgaviRenderer implements AgaviIReusableRenderer
*/
protected
$defaultExtension
=
'.html'
;
protected
$plugin_dir
=
null
;
/**
* Pre-serialization callback.
*
...
...
@@ -90,6 +91,19 @@ class DwooRenderer extends AgaviRenderer implements AgaviIReusableRenderer
}
/**
* Initialize this Renderer.
*
* @param AgaviContext The current application context.
* @param array An associative array of initialization parameters.
*/
public
function
initialize
(
AgaviContext
$context
,
array
$parameters
=
array
())
{
parent
::
initialize
(
$context
,
$parameters
);
$this
->
plugin_dir
=
$this
->
getParameter
(
'plugin_dir'
,
$this
->
plugin_dir
);
}
/**
* Grab a cleaned up dwoo instance.
*
* @return Dwoo A Dwoo instance.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment