The better option for creating entity
Who is the batter option?
PHP Code:
|
Re: The better option for creating entity
The differences between the two snippets of code have nothing to do with creating an entity. And, clearly, you haven't tried both of them yet because one of them shouldn't even compile. Take a little time to search for information about the actual differences between the two pieces of code that you have posted.
|
Re: The better option for creating entity
I tried both ways, but not found a difference.
|
Re: The better option for creating entity
That is because there is no difference. Both options are calling the same function with the same parameters.
If your question is about static vs new (which is unrelated to createing entities), then search as there have been discussions about it before |
Re: The better option for creating entity
Quote:
|
Re: The better option for creating entity
Quote:
|
Re: The better option for creating entity
Also we have a tutorial somewhere on this forums.
|
| All times are GMT -4. The time now is 15:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.