dbxapp 4.1.3
CMS, Shop, Workflows und modulare Geschäftsanwendungen
Loading...
Searching...
No Matches
dbxValidator_permalink_test.php File Reference

Go to the source code of this file.

Variables

 $root = dirname(__DIR__, 3)
 $_SERVER ['REQUEST_URI'] = '/dbxapp/'
 $_SERVER ['HTTP_HOST'] = 'localhost'
 $_SERVER ['HTTPS'] = 'on'
 $_SERVER ['SCRIPT_NAME'] = '/dbxapp/index.php'
if(!defined( 'dbxSystem')) if (!defined( 'dbxRunAsAdmin'))
 $validator = new dbxValidator()
foreach(array( 'home', 'help-dashboard-admin', 'seite-51', 'a1-b2') as $value) foreach(array('home/tutorial', 'zwei woerter', 'mit_unterstrich', 'datei.html', 'Gross', '-start', 'ende-', 'zwei--striche', 'äöü') as $value) if(dbxContent_permalink::normalize(' Home/Über uns ') !=='home-ueber-uns') if(dbxContent_permalink::canonicalFromLegacy('home/tutorial/admin-dashboard') !=='tutorial-admin-dashboard') $db
if(dbxContent_permalink::build( $db, 'content_folder_de', 99, 'Neue Seite') !=='neue-seite-2') if(dbxContent_permalink::unique($db, 'content_de', 'neue-seite', 7) !=='neue-seite') $helpPermalinks = array()
 foreach ((new \dbx\dbxAdmin\dbxAdminHelp()) ->topics() as $topic=> $meta)

Variable Documentation

◆ $_SERVER [1/4]

$_SERVER[ 'HTTP_HOST'] = 'localhost'

Definition at line 5 of file dbxValidator_permalink_test.php.

◆ $_SERVER [2/4]

$_SERVER[ 'HTTPS'] = 'on'

Definition at line 6 of file dbxValidator_permalink_test.php.

◆ $_SERVER [3/4]

$_SERVER[ 'REQUEST_URI'] = '/dbxapp/'

Definition at line 4 of file dbxValidator_permalink_test.php.

◆ $_SERVER [4/4]

$_SERVER[ 'SCRIPT_NAME'] = '/dbxapp/index.php'

Definition at line 7 of file dbxValidator_permalink_test.php.

◆ $db

foreach(array('home', 'help-dashboard-admin', 'seite-51', 'a1-b2') as $value) foreach(array( 'home/tutorial', 'zwei woerter', 'mit_unterstrich', 'datei.html', 'Gross', '-start', 'ende-', 'zwei--striche', 'äöü') as $value) if(dbxContent_permalink::normalize(' Home/Über uns ') !=='home-ueber-uns') if (dbxContent_permalink::canonicalFromLegacy( 'home/tutorial/admin-dashboard') !=='tutorial-admin-dashboard') $db
Initial value:
= new class {
public array $permalinks = array('neue-seite' => 7);
public function select($dd, $where, $fields = '*', $order = '', $direction = '', $group = '', $limit = 0, $offset = 0, $debug = 0): array {
if (!preg_match("/permalink = '([^']+)'/", (string)$where, $match)) {
return array();
}
$permalink = str_replace("''", "'", $match[1]);
return isset($this->permalinks[$permalink]) ? array(array('id' => $this->permalinks[$permalink])) : array();
}
}
if(!defined( 'IMG_WEBP')) define( 'IMG_WEBP'

Definition at line 46 of file dbxValidator_permalink_test.php.

◆ $helpPermalinks

if(dbxContent_permalink::build($db, 'content_folder_de', 99, 'Neue Seite') !=='neue-seite-2') if (dbxContent_permalink::unique( $db, 'content_de', 'neue-seite', 7) !=='neue-seite') $helpPermalinks = array()

Definition at line 66 of file dbxValidator_permalink_test.php.

◆ $root

$root = dirname(__DIR__, 3)

Definition at line 2 of file dbxValidator_permalink_test.php.

◆ $validator

$validator = new dbxValidator()

Definition at line 24 of file dbxValidator_permalink_test.php.

◆ foreach

foreach((new \dbx\dbxAdmin\dbxAdminHelp()) ->topics() as $topic=> $meta) ( (new \dbx\dbxAdmin\dbxAdminHelp()) ->topics() as $topic,
$meta )

Definition at line 67 of file dbxValidator_permalink_test.php.

◆ if

if(!defined('dbxSystem')) if(!defined('dbxRunAsAdmin')) ( ! defined 'dbxRunAsAdmin')

Definition at line 12 of file dbxValidator_permalink_test.php.