Welcome Guest, Not a member yet? Register   Sign In
$db is confusing in the docs.
#1

When I enter the docs and see something like this:

Code:
$fields = $db->getFieldNames('table_name');


It confuses the hell out of me to figure out WHERE $db 'magically' comes from ... I see it NOWHERE in MY ResourceControllers ... and if I try to define it all hell breaks loose ...

Now, please add some understandable CONTEXT when writing docs.

Can someone please shed some light on HOW to understand the docs when trying to use it as a reference?
Reply


Messages In This Thread
$db is confusing in the docs. - by blaasvaer - 12-06-2020, 04:33 AM
RE: $db is confusing in the docs. - by blaasvaer - 12-06-2020, 10:37 AM
RE: $db is confusing in the docs. - by InsiteFX - 12-06-2020, 12:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB