Announcement

  •  » Extensions
  •  » How to check the availability of a function

#1 2017-09-07 22:43:38

PhilippeWd
Member
2012-08-27
5

How to check the availability of a function

Hello,
Writing some plugin (update album), at some point I've to display the name of a category.
The categories can be named in different languages thanks to "Extended Description".
So I use "get_extended_desc" to display the correct name.
But I guess not everyone has installed "Extended Description".
Here comes the question: how can I check if "get_extended_desc" is available or not ?
Thanks
Philippe


    Piwigo 2.9.1
    Operating system: Linux
    PHP: 5.6.31 (Show info) [2017-09-07 22:37:19]
    MySQL: 10.0.32-MariaDB [2017-09-07 22:37:19]
    Graphics Library: External ImageMagick 6.7.2-7

Offline

 

#2 2017-09-07 23:48:30

flop25
Piwigo Team
2006-07-06
7037

Re: How to check the availability of a function


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2017-09-08 19:54:42

PhilippeWd
Member
2012-08-27
5

Re: How to check the availability of a function

My bad, I've not searched properly.
Thank you Flop25 for answering.

Offline

 

#4 2017-09-08 19:56:05

flop25
Piwigo Team
2006-07-06
7037

Re: How to check the availability of a function

^^ you're welcome ; i've been though it also
Have a good day


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 
  •  » Extensions
  •  » How to check the availability of a function

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact