• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Template Functions

Brogan

XenForo moderator
Staff member
#3
Not sure if this is what you mean?

These are the PHP functions you can use in conditional statements:
  • is_array
  • is_object
  • is_string
  • isset
  • empty
  • array
  • array_key_exists
  • count
  • in_array
  • array_search
  • preg_match
  • preg_match_all
  • strpos
  • stripos
  • strlen
  • trim
  • ceil
  • floor
  • round
  • max
  • min
  • mt_rand
  • rand

These are the PHP functions you can use in xen:calc:
  • abs
  • ceil
  • floor
  • max
  • min
  • pow
  • round