Dynamic Forms and Developers
2 posts
• Page 1 of 1
Dynamic Forms and Developers
Coming in Nova 2.1.4, developers will be able to pull dynamic field information easier with some changes to the methods that pull field data. Now, instead of just being able to pass a numeric ID to the field data methods (characters - get_field_data, docking - get_docking_data, specs - get_specs_data, tour - get_tour_data), you'll also be able to pass the field_name. That means that pulling a character's age is as easy as:- Code: Select all
$this->char->get_field_data('age', 15, true);
The third parameter lets you tell Nova if you want to pull back just the field's data (true) or the entire object (false).
I know there are some folks out there who have wanted something like this (and some who have actually built it), but now it's actually in the Nova core and will be available starting in 2.1.4.
Re: Dynamic Forms and Developers
Awesome change!!Find my Nova MODs: https://github.com/mooeypoo
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests