Welcome Guest, Not a member yet? Register   Sign In
DataMapper-ORM bug tracker - icon() function in views/bugs/list.php
#1

[eluser]jjDeveloper[/eluser]
I am currently looking at DataMapper ORM and its example application and was wondering if someone could tell me where this "icon()" function is being defined as i seem to be lost trying to find information on the web regarding it.

Here is a snippet form the file in views/bugs/list.php

Code:
<td class="buttons">
   &lt;?php echo icon('view', 'View this Bug'); ?&gt;

if anybody could provide some insight I would really appreciate it.

Cheers
#2

[eluser]WanWizard[/eluser]
It is a helper function, defined in application/helpers/utilities_helper.php
#3

[eluser]jjDeveloper[/eluser]
Thanks so much WanWizzard.

Such a simple thing I overlooked but thanks for replying so quick.

Ive just started checking DattaMapper out today and I'm really enjoying it so far.

Thanks for everything.




Theme © iAndrew 2016 - Forum software by © MyBB