[development] Node Types

Dan Ziemecki dan at ziemecki.com
Sun May 7 14:39:51 UTC 2006


Jeez.  Here I was thinking I had a special need.  There must be an API for
everything.  Looking for drupal_wash_my_car() ....

Thanks, Khalid,
--
Dan Ziemecki
Philosopher. Curmudgeon. Nerd.

On 5/7/06, Khalid B <kb at 2bits.com> wrote:
>
> Check this http://api.drupal.org/api/HEAD/function/node_get_types
>
> On 5/7/06, Dan Ziemecki <dan at ziemecki.com> wrote:
> > I need to generate a list of active node types for a site, and I'm not
> sure
> > how to go about doing that.  What I need is an array something like
> this:
> >
> > $ntypes = array('blog','forum','flexi','page','story')
> >
> > The end result would be a list of possible node types a person would be
> able
> > to subscribe to using the Subscriptions module.
> >
> > Any ideas how I might be able to find out which nodes are available for
> > subscription?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20060507/35d743eb/attachment.htm


More information about the development mailing list