From: David R. N. <d.r...@qu...> - 2003-03-28 19:44:58
|
Damien McKenna wrote: > On Friday 28 March 2003 12:57 pm, luis wrote: > >>So why not: >>$auth_pear = $tikilib->getPreference("auth_pear", "n") == "y" >>Seems to be more readable :-) > > > It is easier to deal with true/false answers. But ($tikilib->getPreference("auth_pear", "n") == "y") evaluates to either true or false. Also is this getPreference method still going to be in a big, monolithic, tikilib in Tikiwiki 1.6? -- Dr. David R. Newman, Queen's University Belfast, School of Management and Economics, Belfast BT7 1NN, Northern Ireland (UK) Tel. (direct) +44 (0)28 9027 3643 (office) +44 (0)28 9033 5011 FAX: +44 (0)28 9033 5156 mailto:d.r...@qu... http://www.qub.ac.uk/mgt/staff/dave/ |