FAQ

PDF
Print
E-mail
Written by Henrik, Wednesday, 17 September 2008 Last Updated ( Tuesday, 24 February 2009 21:12 )

Does the generated files from Zend Model Creator fall under the GPL licence?

No, it does not. You are free to do what ever you want with the generated code, as long as you at least admit that it is not made by you. You should always leave the comment about who generated the file, please read this post.

Can I edit the comments in the created files?

Yes, the files are absolutly your's to do whatever you want with. No strings attached. You should at least leave the @author comment. Read this!

Why leave the @author comment?

Because it's best practice? :-) We suggest, that if you want to change the @author comment, that you leave the @author ZendModelCreator 1.0 and add something like:
@author ZendModelCreator 1.0, Jane Doe, Somecompany ltd

The manual is not complete, what code do I need to get started?

Download the Hello World example project from our Examples page and take a look in the file "addthis.php". The minimal amount of code you will need to include and run a service is this;

ini_set('include_path', ini_get('include_path') . ':../library' . ':../application' . ':../application/models');
require_once('db/SystemConfig.php');
require_once('db/DbFactory.php');
// Set Default Database Adapter
$db = DbFactory::getDefaultDbAdapter();
Zend_Db_Table_Abstract::setDefaultAdapter($db);

If you have any further questions, do not hesitate to contact:
zmc at thisdomainname dot net

 

Like this Joomla template?

As many other things on this site it is completely free! In collaboration with Midsjö AB are we releasing it into the public domain under the GNU/GPL version 2 license. You will find this template and other extensions under the Labs section then Joomla!. Good luck and happy Joomling!