PHP Classes

Class structure ?

Recommend this page to a friend!

      Top level forums  >  Site  >  Features  >  Class structure ?  >  (Un) Subscribe thread alerts  
Subject:Class structure ?
Summary:What about sub-directories and images?
Messages:3
Author:AW Ford
Date:2008-03-10 08:59:34
Update:2008-03-11 03:24:22
 

  1. Class structure ?   Reply   Report abuse  
Picture of AW Ford AW Ford - 2008-03-10 14:46:29
I have a new GUI class I'd like to submit, but I'm having problems understanding the contribution process/requirements. My class package is structured in directories like this:

-Class root
- -docs
- - -supporting files
- -examples
- - -example1
- - - -supporting files (with images and image-dependent javascript)
- - -example2
- - - -supporting files
- -lib
- - -class files
- - - -class-dependent images

Because it's a GUI class for building wizard-style dialog boxes, it is dependent on button and icon images. Is there no way to create subdirectories or upload images? If not, is it allowed for me to include a link to the complete package on my own server and upload only the class files?

Thanks for explaining to a new member...

  2. Re: Class structure ?   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2008-03-10 14:58:02 - In reply to message 1 from AW Ford
You can specify the whole path of each file in the file name field, separating directories with the / character.

  3. Re: Class structure ?   Reply   Report abuse  
Picture of AW Ford AW Ford - 2008-03-11 03:24:22 - In reply to message 2 from Manuel Lemos
Thanks, Manuel, I mis-read the class submission guidelines and thought you could only paste in file contents, not upload.

Got my class submitted just fine. Sorry about the stupid question :)