[development] node_get_types question

andrew morton drewish at katherinehouse.com
Tue Sep 29 13:47:23 UTC 2009


Either call node_get_types('name', $type) once for each node type or
call $names = node_get_types('names') and pick out the particular
names by their key $name[$type]

andrew

On Tue, Sep 29, 2009 at 9:41 AM, Aldo Martinez Selleras <aldo at caonao.cu> wrote:
> i have a variable with 3 node types as value, where only 2 are selected...
>
> in the variable the valua are saved as $type=>type
>
> how can i obtain the $type=>name??
>
> i have: ask.
> i need: Do a Ask.
>
> how can i obtain the name of only some node types??
>
> thks in advanced.
>


More information about the development mailing list