From: konrad Date: Sat, 25 Dec 2010 04:56:51 +0000 (+0000) Subject: fix abstract determination in php X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=da120e8f3b95485cced3385aa9b88871b829450b;p=web%2Fkonrad%2Fpack.git fix abstract determination in php git-svn-id: https://silmor.de/svn/softmagic/pack/trunk@670 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- diff --git a/woc/php/phpout.h b/woc/php/phpout.h index 261bd60..d40ce6e 100644 --- a/woc/php/phpout.h +++ b/woc/php/phpout.h @@ -64,7 +64,7 @@ class WocPHPOut:public WocOutput /**helper: return the PHP-class-name of a WocClass*/ QString className(const WocClass&c){return "WO"+c.name();} /**helper: return the PHP-class-name of a WocClass plus Abstract if it is abstract*/ - QString abstractClassName(const WocClass&c){return "WO"+c.name()+QString(c.isAbstract("php")?"Abstract":"");} + QString abstractClassName(const WocClass&c){return "WO"+c.name()+QString(c.isAbstract(m_lang)?"Abstract":"");} /**helper: returns the PHP-class-name for a WocTransaction*/ QString trnClassName(const WocTransaction&t){return "WTr"+t.name();}