SPIP
Article refusé
L’article « |objet_info (https://www.spip.net/fr_article5759.html) »
vient d’être refusé par JLuc.
|objet_info
mercredi 24 février 2021 , par JLuc
Le filtre |objet_info
renvoie une propriété d’un objet de SPIP telle
que déclarée via l’API declarer_tables_objets_sql
, ou automatiquement
renseignée par SPIP.
**Exemples d’utilisation **
– dans un code php :
`objet_info
(
‹ document ›
,
‹ champs_editables ›
)
;
`
– dans un squelette html :
[
(
#AUTORISER
{modifier,
#OBJET
,
#ID_OBJET
}
|et
{
#OBJET
|objet_info
{editable}}
|oui
)
....afficher ...
]
— Envoyé par SPIP (https://www.spip.net/)