On 08/15/2012 11:28 AM, phplist wrote:
This relates to a minor dilemma I come across from time and time, and
I'm looking for advice [...]
Within a site I have a User object, and within page code would like to have
if ($crntUser-isASubscriber) {...}
[...]
if ($crntUser-isASubscriber()) {...}
On 08/15/2012 11:28 AM, phplist wrote:
This relates to a minor dilemma I come across from time and time, and
I'm looking for advice [...]
Within a site I have a User object, and within page code would like to
have
if ($crntUser-isASubscriber) {...}
[...]
if ($crntUser-isASubscriber()) {...}
This relates to a minor dilemma I come across from time and time, and
I'm looking for advice on pros and cons and best practice. Last night I
encountered it again.
Within a site I have a User object, and within page code would like to have
if ($crntUser-isASubscriber) {...}
There seems to be
Hi,
2012/8/15 phplist phpl...@myword.co.uk
This relates to a minor dilemma I come across from time and time, and I'm
looking for advice on pros and cons and best practice. Last night I
encountered it again.
Within a site I have a User object, and within page code would like to have
if
On Wed, Aug 15, 2012 at 09:28:28AM +0100, phplist wrote:
This relates to a minor dilemma I come across from time and time,
and I'm looking for advice on pros and cons and best practice. Last
night I encountered it again.
Within a site I have a User object, and within page code would like to
On Wed, Aug 15, 2012 at 11:33 AM, Paul M Foster pa...@quillandmouse.com wrote:
On Wed, Aug 15, 2012 at 09:28:28AM +0100, phplist wrote:
This relates to a minor dilemma I come across from time and time,
and I'm looking for advice on pros and cons and best practice. Last
night I encountered it
On Wed, Aug 15, 2012 at 1:28 AM, phplist phpl...@myword.co.uk wrote:
I can have a User object method getSubscriberStatus() which sets
$this-isASubscriber. But to use this I would have to run the method just
before the if statement.
Or I could have a method isASubscriber() which returns the
7 matches
Mail list logo