What default classes are available to controller class?

Asked by jsherk on 2010-11-23

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:
2010-11-23
Last query:
2010-11-23
Last reply:
2010-11-23
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

jsherk (jeff-forerunnertv) said : #2

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

Thanks

jsherk (jeff-forerunnertv) said : #3

Thanks TitanKing, that solved my question.