thoregundi
Member
Code:
/* the 8 is the table id the other is the element id from the fabrik db tables*/
print_r($this->_oTable->_oForm->_groups["8"]->_aElements["62"]);
lets see if we can come up with a list of variables to pull element labels and values with the current php templates?
like the above has the standard class object but i couldnt figure out how to select it, my php is rusty!
Code:
fabrikElement Object
(
[id] => 61
[element_label] => company
[elementtype_id] => 2
[group_id] => 8
[element_name] => company
[created] => 0000-00-00 00:00:00
[created_by] => 62
[created_by_alias] => admin
[modified] => 0000-00-00 00:00:00
[modified_by] => 0
[checked_out] => 0
[checked_out_time] => 0000-00-00 00:00:00
[element_width] => 30
[element_height] => 10
[use_wysiwyg] => 0
[default] =>
[hidden] => 0
[eval] => 0
[password] => 0
[maxlength] => 255
[box_checked] => 0
[radio_checked] => 0
[multiple] => 0
[dd_text] =>
[dd_intial_selection] =>
[dd_min_selection] =>
[dd_max_selection] =>
[dd_values] =>
[image_name] =>
[ordering] => 3
[ck_value] =>
[rad_value] =>
[ul_file_types] =>
[ul_directory] =>
[ul_max_file_size] =>
[ul_email_file] => 0
[ul_file_increment] => 0
[show_in_table_summary] => 0
[join_conn_id] =>
[join_db_name] =>
[join_key_column] =>
[join_val_column] =>
[can_order] => 0
[can_filter] => 0
[filter_type] =>
[filter_exact_match] => 0
[state] => 1
[button_javascript] =>
[image_float] =>
[link_url] =>
[link_to_detail] => 0
[primary_key] => 0
[auto_increment] => 0
[use_in_page_title] => 0
[access] => 0
[link] =>
[attribs] =>
[_js] =>
[_params] => fabrikParams Object
(
[_splitter_1] => |..*..|
[_splitter_2] => |//*//|
[_params] => stdClass Object
(
)
[_raw] =>
[_path] => C:/xampp/htdocs/site1/administrator/components/com_fabrik/xml/element.xml
[_type] => component
[_xmlElem] =>
)
[_aValidations] => Array
(
)
[_advancedJoins] =>
[_access] =>
[_elementHTMLId] =>
[_origName] =>
[_admin] =>
[_aDataToIgnore] => Array
(
[0] => _frommodule
[1] => ids
[2] => option
[3] => act
[4] => task
[5] => tableid
[6] => Itemid
[7] => limitstart
[8] => pagelimit
[9] => limit
[10] => orderdir
[11] => orderby
[12] => sessioncookie
[13] => mosadmin
[14] => webfxtab_configPane
[15] => webfxtab_content-pane
[16] => PHPSESSID
)
[_reservedWords] => Array
(
[0] => _frommodule
[1] => act
[2] => task
[3] => option
[4] => form_id
[5] => Submit
[6] => ul_max_file_size
[7] => ul_file_types
[8] => ul_directory
[9] => tableid
[10] => rowid
[11] => Itemid
[12] => fabrik
[13] => addDropDownValue
[14] => addDropDownLabel
[15] => ul_end_dir
)
[_nullDate] => 0000-00-00 00:00:00
[_tbl] => #__fabrik_elements
[_tbl_key] => id
[_error] =>
[_db] => database Object
(
[_sql] => SELECT name FROM jos_core_acl_aro_groups WHERE group_id >= '30' AND group_id < 28
[_errorNum] => 0
[_errorMsg] =>
[_table_prefix] => jos_
[_resource] => Resource id #12
[_cursor] => Resource id #79
[_debug] => 0
[_limit] => 0
[_offset] => 0
[_ticker] => 0
[_log] => Array
(
)
[_nullDate] => 0000-00-00 00:00:00
[_nameQuote] => `
)
)
but where is the value?
maybe we can make a list of selectors? like $this->_data = $data ?/?? and so on and so forth