[development] Node Types

Khalid B kb at 2bits.com
Sun May 7 14:42:22 UTC 2006


Oh, on 4.6 it is http://api.drupal.org/api/4.6/function/node_list

And what you want is available at:

http://api.drupal.org/api/HEAD/function/drupal_touchless_car_wash

On 5/7/06, Dan Ziemecki <dan at ziemecki.com> wrote:
> 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,
>
>
> 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?
> >
>
>


More information about the development mailing list