Sorry for long delay...
On 03/29/2010 09:19 AM, Victor Bolshov wrote:
Toorion, I suggest *not* your code becomes unreadable because of PHP
limitations but because of you application architecture limitations.
I see from your example that you're building a Ext.JS datagrid. And,
what is do
On 03/27/2010 08:09 PM, Johannes Schlüter wrote:
You can always use a (temporary) alias to shorten things
$myLongNameObject = new MyLongNameObject();
$t = $myLongNameObject;
$t->property1 = '1';
$t->property2 = '2';
$t->property3 = '3';
$t->property4 = '4';
$t->property5 = '5
On 03/27/2010 07:23 PM, Martin Jansen wrote:
On 27.03.10 17:02, Toorion wrote:
$myLongNameObject = new MyLongNameObject();
$myLongNameObject->property1 = '1';
$myLongNameObject->property2 = '2';
$myLongNameObject->property3 = '3'
Very often (for example when work with dom or UI object) setting plenty
of object properties is require. At this time we has not a lot options.
Standard way looks very dirty and be reason of more copy-paste-work.
Reproduce code:
---
$myLongNameObject = new MyLongNameObject();
$myLong