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
495dc133
Commit
495dc133
authored
Feb 28, 2010
by
seldaek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add eol:style on new file
git-svn-id:
http://svn.dwoo.org/trunk@342
0598d79b-80c4-4d41-97ba-ac86fbbd088b
parent
69f61f83
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
38 deletions
+39
-38
Dwoo.php
lib/Dwoo/Adapters/ZendFramework/Dwoo.php
+39
-38
No files found.
lib/Dwoo/Adapters/ZendFramework/Dwoo.php
View file @
495dc133
<?php
<?php
/**
/**
* Dwoo base class for ZendFramework
* Dwoo base class for ZendFramework
*
*
* This software is provided 'as-is', without any express or implied warranty.
* 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
* In no event will the authors be held liable for any damages arising from the
* use of this software.
* use of this software.
*
*
* @author Jordi Boggiano <j.boggiano@seld.be>
* @author Jordi Boggiano <j.boggiano@seld.be>
* @author Marc Hodgins <mjh@hodginsmedia.com>
* @author Marc Hodgins <mjh@hodginsmedia.com>
* @copyright Copyright (c) 2010, Jordi Boggiano
* @copyright Copyright (c) 2010, Jordi Boggiano
* @license http://dwoo.org/LICENSE Modified BSD License
* @license http://dwoo.org/LICENSE Modified BSD License
* @link http://dwoo.org/
* @link http://dwoo.org/
* @version 1.2.0
* @version 1.2.0
* @date 2010-02-28
* @date 2010-02-28
* @package Dwoo
* @package Dwoo
*/
*/
class
Dwoo_Adapters_ZendFramework_Dwoo
extends
Dwoo
class
Dwoo_Adapters_ZendFramework_Dwoo
extends
Dwoo
{
{
/**
/**
* Redirects all unknown properties to plugin proxy
* Redirects all unknown properties to plugin proxy
* to support $this->viewVariable from within templates
* to support $this->viewVariable from within templates
*
*
* @param string $name Property name
* @param string $name Property name
* @return mixed
* @return mixed
*/
*/
public
function
__get
(
$name
)
public
function
__get
(
$name
)
{
{
if
(
isset
(
$this
->
getPluginProxy
()
->
view
->
$name
))
{
if
(
isset
(
$this
->
getPluginProxy
()
->
view
->
$name
))
{
return
$this
->
getPluginProxy
()
->
view
->
$name
;
return
$this
->
getPluginProxy
()
->
view
->
$name
;
}
}
$trace
=
debug_backtrace
();
$trace
=
debug_backtrace
();
trigger_error
(
'Undefined property via __get(): '
.
$name
.
trigger_error
(
'Undefined property via __get(): '
.
$name
.
' in '
.
$trace
[
0
][
'file'
]
.
' in '
.
$trace
[
0
][
'file'
]
.
' on line '
.
$trace
[
0
][
'line'
],
E_USER_NOTICE
);
' on line '
.
$trace
[
0
][
'line'
],
E_USER_NOTICE
);
return
null
;
return
null
;
}
}
}
}
\ No newline at end of file
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