Skip to main content
Topic: Profile.subs.php $profile_fields options (Read 2170 times) previous topic - next topic
0 Members and 1 Guest are viewing this 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.