Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Anderstand Filter process 18 Jun 2017 13:14 #15219

  • liubov
  • liubov's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
Hi Admin,

I am looking for the code/process that handle and apply the "default.filters" define in the models/form/ *.xml
I 've added default="1" to filter the default Race id=1 and that works fine :) to display this filtered collection ...
<fieldset name="default.filters" addfieldpath="/administrator/components/com_jbreeding/models/fields">
	<field name="filter_id_race"
		listKey="id"
		labelKey="value"
		type="ckcombo"
                default="1"
		submit="true"
		nullLabel="JBREEDING_FILTER_NULL_RACES"
		class="span-2 element-filter"
		label="JBREEDING_JSEARCH_RACES"
		ui="chosen"/>

I just want to know where is the function responsible of this xml reading ?

Thanks,
Marc

Please Log in or Create an account to join the conversation.

Last edit: by liubov.

Anderstand Filter process 18 Jun 2017 13:35 #15220

  • liubov
  • liubov's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
posted too fast !

I've found the function :
public function getForm($instance = 'default.filters', $loadData = true, $control = null)

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.053 seconds
Je suis vraiment impressionné par la puissance de COOK et encore plus admiratif de ton travail. A ce jour je crois que c'est ce que j'ai vu de plus abouti dans le domaine de la conception d'extension pour Joomla!
felichon (Forum)  

Get Started