Skip to main content
Profile.subs.php $profile_fields options Started by Joshua Dickerson · · Read 2196 times 0 Members and 1 Guest are viewing this topic. previous topic - next topic

Profile.subs.php $profile_fields options

Where does that get handled? It isn't in the doc block before the field.

Re: Profile.subs.php $profile_fields options

Reply #1

loadProfileFields is where the variable is filled with data.
Or you mean where the variable is actually used?
It's another of those meh things...
Bugs creator.
Features destroyer.
Template killer.

Re: Profile.subs.php $profile_fields options

Reply #2

Yeah, I'm trying to find where the $options part is actually used.

Re: Profile.subs.php $profile_fields options

Reply #3

Why are you asking questions only about meh code? :P

$options is used in several places all around the templates and controllers (maybe some subs too).
It should hold the per-user alternatives of the $settings.
Bugs creator.
Features destroyer.
Template killer.

 

Re: Profile.subs.php $profile_fields options

Reply #4

Just wondering because it is a string of PHP code but it should probably be an anonymous function.