transformStdClass()

transformStdClass()

This returns all model finded/fetched entries into an StdClass Objects
@return StdClass

Params

EMPTY

Explanation

Usage

$user = new Users();

$user->find();

var_dump($user->transformStdClass());

It can also be pretty hand in views for loop statements for example if using tal:repeat ( Using PHPTAL Views System is NOT DEFAULT see Views to more information ) you can do: