I am new to drupal, I read some introductory tutorial.
I notice there is some theme() function in template files.
<?php print theme('uc_price',array('price'=>$price)); ?>
It will generate some html source code:
<span class="uc-price" data-thmr="thmr_45">$59.85</span>
Is it theme() function is only to generate the html source? If this is the case, why I need use theme() function? I Think just only write html source manually.
I use Zen base-theme, Does theme() is one of zen's native function?
Please tell me the real usage of "theme()".