[drupal-devel] Standard set of objects and methods?
dries at buytaert.net
Tue May 3 17:35:02 UTC 2005
On 02 May 2005, at 22:37, Bèr Kessels wrote:
> IMO we could simply start by renaming everything with a single unified
> convention. Not name (user), title (node) or subject (comment), but
> rather a
> single word, used to define that part. Same for body (node),
> (term). just don't ask me what names to use, though ;). IMO these
> should be reflected in the database column names too.
In some ways, we already have what you describe. Take format_name(),
for example. You can pass it any object with a uid and a name, and it
will display a username.
I'm OK with adding more such patterns where appropriate.
Dries Buytaert :: http://www.buytaert.net/
More information about the drupal-devel