What default classes are available to controller class?

Asked by jsherk

What default classes are automatically available within my controller class, without having to call the class like this?
$someClass=factory('someClass');

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
Best TitanKing (titan-phpdevshell) said :
#1

Wow theres allot! They are grouped under the following:

$this->db
$this->user
$this->security
$this->template
$this->core
$this->navigation
$this->tagger

It is used for example $this->user->isRoot();

Have a look at the api doc for classes:
http://doc.phpdevshell.org/

Click the dropdown top right and pick PHPDevShell.

Obviously documentation will follow on V3 before its stable :)

Jason

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

That's what I was looking for, just the top level class names!

Thanks

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

Thanks TitanKing, that solved my question.