CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Show Form in Template
Pages: [1]

Author Topic: Show Form in Template  (Read 1017 times)

figover

  • Guest
Show Form in Template
October 30, 2008, 09:25:13 pm
Hello,
I want to ask that...in which function....$form variable is created ..... because i am watching that ... in tpl files $form lies.

I know that this variable can be assigned to tpl file by ->assign('var','value');...method.

If $form variable is created in different functions......then tell me which functions are being used.....and what method is used to make $form variable so that it will be given to assign function to go to tpl file.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Show Form in Template
October 31, 2008, 01:34:34 am
All the form extend CRM/Core/Form.php

I think reading http://civicrm.org/architecture might help..

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Show Form in Template

This forum was archived on 2017-11-26.