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.072 seconds

Amazing Tool !
And only tool I know that allows complete Scaffolding in terms of component creation. It really saves loads of time (actually much more than that). Simple architecture enables quick and painless changes at any time. Code is clean and consintent. It's just... what's the word... neat! :) Great work! You should definetely try this one!

pi_wo (JED)
         

Get Started