You are here: Re: Classes, don't follow. « PHP Programming Language « IT news, forums, messages
Re: Classes, don't follow.

Posted by Mark ??;-\) on 11/03/05 04:48

> When you say you have encapsulated the files as an object, does this mean
> that you have a file object or that you have objects that access files? In
> the first example, you would have generic methods (read, write, delete,
> create) that concerned all files as a generic type. In the second example,
> file access would simply be a product of satisfying a method on an object.

I have file objects. Basically I have a form that gets input from a user
including things like date, time, section, and the selected file. I am
considering this my file object, which I will then upload, display, or
delete. Maybe I need to create different objects to deal with the display
portion, I don't know.

On a slight tangent..the file information form consists of several <select>
lists which allow users to select the day, month, year, etc. I've have
tried turning this group of selects into a class, but I am having problems
with the array of values. If I post the code would someone be able to guide
me through the process of converting this group of functions into a class?

Thanks,

-Mark

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация