ElggFile Clone

I am writing a logic for cloning an ElggEntity. Here I am also planning to copy the icons of old entity.

However I find it difficult as there is no clone  function in ELGGFile class.

Can any one tell me how I can clone the object like blog, along with its icons.


Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking