Some concept problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
myharshdesigner
Forum Commoner
Posts: 43
Joined: Sat Apr 21, 2007 8:23 pm

Some concept problem

Post by myharshdesigner »

can any one tell me what is the meen of this code :-

Code: Select all

$pDisplay->SetStylesheets('form.css', 'user.css');

what this -> will do ?

[s]Pl[/s] PLEASE give me some simple & live example.

Thanks
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.

Some examples of what not to do are ne1, any1 (anyone); u (you); ur (your or you're); 2 (to too); prolly (probably); afaik (as far as I know); etc.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Code: Select all

$pDisplay->SetStylesheets('form.css', 'user.css');
What this is saying is that the application is calling the SetStylesheets() method of the $pDisplay object and is passing that method two parameters: a string with a value of form.css and a string with a value of user.css.

What that method does with it is an entirely different question.

On a side note, can you please stop using AOL speak. There are a lot of users here from all over the world that do not speak English natively, so spelling out your words completely makes these forums a lot better for everyone. Thank.
Post Reply