Re: Constants: Tables or Varlists?

From: Date: Thu, 05 Apr 2007 20:02:29 +0000
Subject: Re: Constants: Tables or Varlists?
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969376015@lists.php.net to get a copy of this message
I was looking over some older documentation to get ideas on formatting for docs I was writing, and something struck me: some of the constant lists were written using <variablelist> (ref.array), while others were written using <table> (ref.mysql). Arguably, <table> is less semantic than <variablelist>, but I tend to favor the compactness of a table (a single entry takes up one line, rather than two). I'd like to know if there are any guidelines regarding which to use. For the record, xml_proto.php writes <variablelist> style constant lists by default. Also, with a little bit of XSLT hacking, it would probably be possible to turn <variablelist> into the table form.
Use variablelist http://doc.php.net/php/dochowto/chapter-skeletons.php Regards, Philip Olson

« previous php.doc (#969376015) next »