[BNM] Dumb PHP question

Alan Newman alan at sensibledevelopment.com
Sat Jun 2 12:29:41 BST 2007


Hi Raj,

Nice one - many thanks.

- Alan

-----Original Message-----
From: bnmlist-bounces at brightonnewmedia.org
[mailto:bnmlist-bounces at brightonnewmedia.org] On Behalf Of Raj Anand
Sent: 02 June 2007 12:26
To: Brighton New Media
Subject: Re: [BNM] Dumb PHP question

Hi Alan,

If I remember my Java (from uni), This php code:

$claim->value

is analogous to Java:

claim.value



Another example could be :

$claim->functionName()



Can I assume that in this example that -> just returns me a member of the
class - in this case "value" is a member of the class using the handle
"claim"?

Yup :)





On 6/2/07, Justin Wanstall <lists at wanstall.co.uk> wrote:
>
> The $claim part refers to an instance of a class which has been initiated
> and the ->value is simply a value within that instance. It's Object
> Oriented
> programming.
>
> http://en.wikipedia.org/wiki/Object-oriented_programming
>
> Justin.
>
> -----Original Message-----
> From: Alan Newman [mailto:alan at sensibledevelopment.com]
> Sent: 02 June 2007 11:52
> To: 'Brighton New Media'
> Subject: [BNM] Dumb PHP question
>
> Hi,
>
>
>
> We have inherited a PHP UI for a back end application we are customizing
> and
> I can't find an answer to this on the web, but I suspect I am just not
> looking in the right places.
>
>
>
> We are seeing this sort of expression a lot and are not sure what it is:
>
>
>
> $claim->value
>
>
>
> It seems to come up a lot - is it some sort of "injection" of one value in
> to another? It would really help to know what is going in and would help
> out
> us silly Java types a lot!
>
>
>
> Cheers
>
>
>
> - Alan
>
>
>
>
>
>
>
> HYPERLINK "http://www.sensibledevelopment.com"www.sensibledevelopment.com-
> scalable back end web development that looks good.
>
>
>
> ::email:: HYPERLINK
> "mailto:alan at sensibledevelopment.com"alan at sensibledevelopment.com
>
> ::land:: +44 (0)1273 621110
>
> ::mobile:: +44 (0)7711 006551
>
>
>
>
>
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.472 / Virus Database: 269.8.6/828 - Release Date: 01/06/2007
> 11:22
>
> --
>
>
> BNM Social - http://upcoming.yahoo.com/event/190648
>
> BNM Subscribe/Unsubscribe:
> http://lists.wessexnetworks.com/cgi-bin/mailman/options/bnmlist/
> BNM info/archives:
> http://www.brightonnewmedia.org/
>
> BNM archive search:
> http://www.roddis.org/bnm/search.php
>
> BNM powered by Wessex Networks:
> http://www.wessexnetworks.com
>
> --
>
>
> BNM Social - http://upcoming.yahoo.com/event/190648
>
> BNM Subscribe/Unsubscribe:
> http://lists.wessexnetworks.com/cgi-bin/mailman/options/bnmlist/
> BNM info/archives:
> http://www.brightonnewmedia.org/
>
> BNM archive search:
> http://www.roddis.org/bnm/search.php
>
> BNM powered by Wessex Networks:
> http://www.wessexnetworks.com
>



-- 
Raj Anand
Technical Director
Kwiqq.com
+44 (0)1273 704787 / +44 (0)787 627 4773
The Sussex Innovation Centre
Science Park Square, University of Sussex, Brighton, BN1 9SB

kwiqq.com is part of Anderstand Ltd.

This e-mail and any attachment is intended for the named addressee(s) only,
or person  authorised to receive it on their behalf. The content may be
privileged and should be treated as confidential and the recipient may not
disclose this  message or any attachment to anyone else without
authorisation. Unauthorised use, copying or disclosure may be unlawful. If
this transmission is received in error please notify the sender immediately
and delete this message from your e-mail system. Any view expressed by the
sender of this message or any attachment may be personal and may not
represent the view held by Anderstand Ltd.  Whilst we maintain virus checks
on inbound e-mails we accept no liability for viruses or other material
introduced with this message.
-- 


BNM Social - http://upcoming.yahoo.com/event/190648

BNM Subscribe/Unsubscribe:
http://lists.wessexnetworks.com/cgi-bin/mailman/options/bnmlist/
BNM info/archives:
http://www.brightonnewmedia.org/

BNM archive search:
http://www.roddis.org/bnm/search.php

BNM powered by Wessex Networks:
http://www.wessexnetworks.com

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.472 / Virus Database: 269.8.6/828 - Release Date: 01/06/2007
11:22
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.472 / Virus Database: 269.8.6/828 - Release Date: 01/06/2007
11:22
 




More information about the BNMlist mailing list. Powered by Wessex Networks