Re: Saisies : Récupérer le numéro d'article

Stephane Santon <[email protected]>
Newsgroups gmane.comp.web.spip.devel
Message-ID <[email protected]>
Le 25/11/2020 à 15:43, Bruno Bergot a écrit :
>> Array ( [0] => article|517 )
>>
>> Y a-t-il une fonction Spip toute prête pour en extraire le numéro 
>> d'article ou bien est-ce que je passe par explode, ... ?
> 
> De mémoire c'est la fonction picker_selected() que tu cherches, cf 
> https://git.spip.net/spip/spip/src/branch/master/prive/formulaires/selecteur/inc-sel-articles.html#L1 

Super ! C'est tout à fait ce qui me convient ! :-D

Merci bon aprèm

-- 
Stéphane
17 Charente-Maritime
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.