Has ->show() been re-written?

Asked by jsherk on 2010-10-12

Has the ->show() function been re-written in v3, or is it using the includes/legacy/view.class.php?

If it has been re-written or replaced, where is the new code/function/class?

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
PHPDevShell Edit question
Assignee:
No assignee Edit question
Solved by:
TitanKing
Solved:
2010-10-12
Last query:
2010-10-12
Last reply:
2010-10-12
Greg (gregfr) said : #1

Please be more specific: what are you trying to achieve?

Greg (gregfr) said : #2

Please be more specific: what are you trying to achieve?

Best TitanKing (titan-phpdevshell) said : #3

On old scripts you need to use oldlegacy2 template, on new ones you want to convert you need to call plugin Smarty, with:

        // Load views.
        $view = $this->factory('views');

Have a look at plugin/PHPDevShell/user/readme.php for an example.

jsherk (jeff-forerunnertv) said : #4

Thanks TitanKing, that is what I was wondering... I did see that it appeared to have changed so was trying to find it in the code.

jsherk (jeff-forerunnertv) said : #5

Thanks TitanKing, that solved my question.