Re: [PHP] What the heck is this

2001-07-10 Thread Brian White

That's a classy question .

At 23:11 10/07/2001 -0700, Adam wrote:
>I've seen this around alot ($a->$z) and i'm woundering what it is and what
>it does. I'm specifcally talking about the arrow thingy "->". I've never
>seen it before so i was kinda curious.
>
>thanks
>-Adam
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

-
Brian White
Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy
Phone: +612-93197901
Web:   http://www.steptwo.com.au/
Email: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] What the heck is this

2001-07-10 Thread Chris Anderson

The way you have it leads me to believe you are talking about for..each
loops
- Original Message -
From: "Brian White" <[EMAIL PROTECTED]>
To: "Adam" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, July 11, 2001 2:12 AM
Subject: Re: [PHP] What the heck is this


> That's a classy question .
>
> At 23:11 10/07/2001 -0700, Adam wrote:
> >I've seen this around alot ($a->$z) and i'm woundering what it is and
what
> >it does. I'm specifcally talking about the arrow thingy "->". I've never
> >seen it before so i was kinda curious.
> >
> >thanks
> >-Adam
> >
> >
> >
> >--
> >PHP General Mailing List (http://www.php.net/)
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> -
> Brian White
> Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy
> Phone: +612-93197901
> Web:   http://www.steptwo.com.au/
> Email: [EMAIL PROTECTED]
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] What the heck is this

2001-07-10 Thread Adam

I've done quite a bit of php coding in the past few months but never had the
need to use this and therefore never learned anything about it. It's hard to
ask about it because i have NO idea what it is at all. Is it to give
spanning values? I was woundering if anyone knew specifically what it did.

-Adam



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] What the heck is this

2001-07-10 Thread Warren Vail

When all else fails, check the mainual;

http://www.php.net/manual/en/language.oop.php

appears to be an instance reference (not sure that is the term).

Warren Vail

-Original Message-
From: Adam [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 11:35 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] What the heck is this


I've done quite a bit of php coding in the past few months but never had the
need to use this and therefore never learned anything about it. It's hard to
ask about it because i have NO idea what it is at all. Is it to give
spanning values? I was woundering if anyone knew specifically what it did.

-Adam



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] What the heck is this

2001-07-10 Thread Brian White

If you have an object, it is the operator that allows you to pick
out attributes and methods of the object:

eg:

class A
{
 // constructor
 function A( $text )
 {
 $this->text = $text;
 }

 function Print()
 {
 print $this->text;
 }
}

$anA = new A("BOO!");
$anA->Print();


At 23:34 10/07/2001 -0700, Adam wrote:
>I've done quite a bit of php coding in the past few months but never had the
>need to use this and therefore never learned anything about it. It's hard to
>ask about it because i have NO idea what it is at all. Is it to give
>spanning values? I was woundering if anyone knew specifically what it did.
>
>-Adam
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

-
Brian White
Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy
Phone: +612-93197901
Web:   http://www.steptwo.com.au/
Email: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] What the heck is this

2001-07-11 Thread Adam

ahh so it's for classes, then i'm fine because i haven't fount a use for
that yet.

-Adam



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] What the heck is this

2001-07-11 Thread Ben Bleything

Ack!  The travesty!  Opportunities for OOP are literally
everywhere!

=> =>
Ben

-Original Message-
From: Adam [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 11, 2001 12:26 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] What the heck is this

ahh so it's for classes, then i'm fine because i haven't fount a use for
that yet.

-Adam



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] What the heck is this

2001-07-11 Thread Christian Reiniger

On Wednesday 11 July 2001 08:20, Chris Anderson wrote:
> The way you have it leads me to believe you are talking about for..each
> loops

That would be "=>", not "->" :)

> - Original Message -
> From: "Brian White" <[EMAIL PROTECTED]>
> To: "Adam" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Wednesday, July 11, 2001 2:12 AM
> Subject: Re: [PHP] What the heck is this
>
> > That's a classy question .
> >
> > At 23:11 10/07/2001 -0700, Adam wrote:
> > >I've seen this around alot ($a->$z) and i'm woundering what it is
> > > and

-- 
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)

"Software is like sex: the best is for free" -- Linus Torvalds

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]