PHP code to generate icons
currently i am working on a huge back-end application in Zend Framework.
A lot of times i end up using wrong icon for some object or action.

**My Question**
Is there any php code to generate icons automatically????

Ofcourse these icons will not be generated magically, best case scenario is that we have a collection of icons which have the type of.

 - Object (user,category,product,rss etc)
 - Action (add,edit,delete,update etc)

This way we can create icons by mixing different types of icons on the fly.

The code for generating a icon to delete user with 32x32 and delete icon in bottom-right corner of the icon.

<pre>
$icon = new Icon();
$icon->object('user')->action('delete');
$icon->action_align('right')->action_valign('bottom');
$icon->action_height(10)->action_width(10);
$icon->height(32)->width(32);
$icon->create();
</pre>

This is just an example that how can we create a icon which was never exited before.
PHP code to generate icons
===

currently i am working on a huge back-end application in Zend Framework.
A lot of times i end up using wrong icon for some object or action.

**My Question**
Is there any php code to generate icons automatically????

Ofcourse these icons will not be generated magically, best case scenario is that we have a collection of icons which have the type of.

 - Object (user,category,product,rss etc)
 - Action (add,edit,delete,update etc)

This way we can create icons by mixing different types of icons on the fly.

The code for generating a icon to delete user with 32x32 and delete icon in bottom-right corner of the icon.

<pre>
$icon = new Icon();
$icon->object('user')->action('delete');
$icon->action_align('right')->action_valign('bottom');
$icon->action_height(10)->action_width(10);
$icon->height(32)->width(32);
$icon->create();
</pre>

This is just an example that how can we create a icon which was never exited before.