Has ->show() been re-written?

Asked by jsherk

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:
Last query:
Last reply:
Revision history for this message
Greg (gregfr) said :
#1

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

Revision history for this message
Greg (gregfr) said :
#2

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

Revision history for this message
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.

Revision history for this message
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.

Revision history for this message
jsherk (jeff-forerunnertv) said :
#5

Thanks TitanKing, that solved my question.