HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers96/smilefotografie.nl/app/helpers.php
<?php

/**
 * Check if a page is an album
 *
 * @param $page
 * @return bool
 */
function is_album($codeName)
{
    return in_array($codeName, Config::get('komma.albumPages'));
}

/**
 * Check if a page is an album
 *
 * @param $page
 * @return bool
 */
function has_form($codeName)
{
    return in_array($codeName, Config::get('komma.formPages'));
}

/**
 * Check if a page has filters
 *
 * @param $page
 * @return bool
 */
function has_filter($codeName)
{
    return isset(Config::get('komma.filteredPages')[$codeName]);
}

/**
 * Check if a page has a dark header
 *
 * @param $page
 * @return bool
 */
function is_negative($codeName)
{
    return in_array($codeName, Config::get('komma.negativePages'));
}