This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace IPS\explorefeeds\modules\front\explore; | |
if ( !\defined('\\IPS\\SUITE_UNIQUE_KEY') ) { exit; } | |
class explore extends \IPS\Dispatcher\Controller | |
{ | |
public static bool $csrfProtected = TRUE; | |
public function execute(): void |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$enableHtmx = true; // Set to false to disable HTMX and ajax requests | |
function isActionRequest( | |
array $methods = ['POST'], // the methods to check for | |
?string $formControl = null, // the form control to check for | |
): bool { | |
// if $enableHtmx is false and method is not POST then match will return 'GET' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace App\Handler; | |
use Laminas\Db\Sql\ExpressionInterface; | |
use Laminas\Db\Sql\SqlInterface; | |
use InvalidArgumentException; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Postloop_ControllerPublic_Postloop extends XenForo_ControllerPublic_Abstract | |
{ | |
public function actionIndex() | |
{ | |
$postloopVersion = "2.1"; | |
$software = "XenForo 1.x"; | |
$db = XenForo_Application::get('db'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace Authenticatie\Controller; | |
use Laminas\Mvc\Controller\AbstractActionController; | |
use Laminas\View\Model\ViewModel; | |
use Authenticatie\Form\LoginForm; | |
use Authenticatie\Model\User; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Authenticatie\Controller\Factory; | |
use Psr\Container\ContainerInterface; | |
use Laminas\ServiceManager\Factory\FactoryInterface; | |
use Laminas\Authentication\Adapter\DbTable\CallbackCheckAdapter; | |
use Authenticatie\Controller\AuthenticatieController; | |
use Laminas\Authentication\AuthenticationService; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace App\Handler; | |
use Laminas\Db\Adapter\Adapter; | |
use Laminas\Db\Metadata\Metadata; | |
use Laminas\Db\Sql\Ddl; | |
use Laminas\Db\Sql\Sql; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"running": "build-action-tree", | |
"directories": { | |
"Admin": { | |
"ACP": [], | |
"AntiSpam": [], | |
"Attachments": { | |
"attachments": "attachmentSettings", | |
"avatars": "avatarSettings", | |
"browse": "browse", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
interface ContentTypeInterface | |
{ | |
public final const HEADER_FIELD = 'Content-Type'; | |
public final const TYPE_HTML = 'text/html'; | |
public final const TYPE_JSON = 'application/json'; | |
public final const TYPE_TEXT = 'text/plain'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
interface ContractOne | |
{ | |
public function methodOne(); | |
} | |
interface ContractTwo | |
{ | |
public function methodTwo(); |
NewerOlder