2009年11月10日星期二

[fw-db] view object

Hi All,
I cannot undrestand that the vlaue of view in controller is different
form view/script.
to make it clear. when I am returning $this->view in the controller I
have some missing arguments compare to return $this in view/script.
forexample:
the $this->view in controller:
.
.
.
.["_path":"Zend_View_Abstract":private] => array(3) {

["script"] => array(1) {
[0] => string(71)
"C:\roozbeh\repo\newskool\repo\application\modules\client\views\scripts\"
}
["helper"] => array(0) {
}
["filter"] => array(0) {

}

the value of $this in view/script.

["_path":"Zend_View_Abstract":private] => array(3) {
["script"] => array(3) {
[0] => string(63)
"C:\roozbeh\repo\newskool\repo\application\views\scripts\client\"
[1] => string(56)
"C:\roozbeh\repo\newskool\repo\application\views\scripts\"
[2] => string(71)
"C:\roozbeh\repo\newskool\repo\application\modules\client\views\scripts\"
}
["helper"] => array(0) {
}
["filter"] => array(0) {
}

could you please let me know how can i have [0] => string(63)
"C:\roozbeh\repo\newskool\repo\application\views\scripts\client\"
[1] => string(56)
"C:\roozbeh\repo\newskool\repo\application\views\scripts\"

in conroller so by running $this->view in controller I can have above
values.
much appriciate for any help.
Thanks,
Roozbeh

没有评论: