Go to the source code of this file.
Classes | |
| class | dbxObj |
| Gemeinsame Basisklasse fuer dbXapp-System-, Modul- und Include-Objekte. More... | |
Variables | |
| $class = new ReflectionClass('dbx\\dbxContent_admin\\dbxContent_cms') | |
| $cms = $class->newInstanceWithoutConstructor() | |
| $sanitize = $class->getMethod('sanitize_content_html') | |
| $html | |
| $out = $sanitize->invoke($cms, $html) | |
| if(strpos( $out, 'float:left;')===false||strpos( $out, 'margin-right:1.5rem;')===false) if(strpos($out, 'position:') !==false||strpos($out, 'color:') !==false) | $bareImage |
| if(strpos($bareImage, 'float:left;')===false||strpos($bareImage, 'margin-right:1.5rem;')===false||strpos($bareImage, 'width:400px;')===false||strpos($bareImage, 'height:auto;')===false||strpos($bareImage, 'max-width:100%;')===false||strpos($bareImage, 'max-height:480px;')===false||strpos($bareImage, 'expression(') !==false) | $centered |
| if(strpos($centered, 'display:block;')===false||strpos($centered, 'margin-left:auto;')===false||strpos($centered, 'margin-right:auto;')===false||strpos($centered, 'transform:') !==false) | $ordinary = $sanitize->invoke($cms, '<div style="float: right; text-align: center;">Text</div>') |
| if (strpos( $ordinary, 'float:') !==false||strpos( $ordinary, 'text-align:center;')===false) | |
| if(strpos($out, 'float:left;')===false||strpos($out, 'margin-right:1.5rem;')===false) if (strpos( $out, 'position:') !==false||strpos( $out, 'color:') !==false) $bareImage |
Definition at line 26 of file dbxContent_cms_image_alignment_test.php.
| if (strpos( $bareImage, 'float:left;')===false||strpos( $bareImage, 'margin-right:1.5rem;')===false||strpos( $bareImage, 'width:400px;')===false||strpos( $bareImage, 'height:auto;')===false||strpos( $bareImage, 'max-width:100%;')===false||strpos( $bareImage, 'max-height:480px;')===false||strpos( $bareImage, 'expression(') !==false) $centered | ( | ) |
Definition at line 42 of file dbxContent_cms_image_alignment_test.php.
| $class = new ReflectionClass('dbx\\dbxContent_admin\\dbxContent_cms') |
Definition at line 7 of file dbxContent_cms_image_alignment_test.php.
| $cms = $class->newInstanceWithoutConstructor() |
Definition at line 8 of file dbxContent_cms_image_alignment_test.php.
| $html |
Definition at line 12 of file dbxContent_cms_image_alignment_test.php.
| if (strpos( $centered, 'display:block;')===false||strpos( $centered, 'margin-left:auto;')===false||strpos( $centered, 'margin-right:auto;')===false||strpos( $centered, 'transform:') !==false) $ordinary = $sanitize->invoke($cms, '<div style="float: right; text-align: center;">Text</div>') |
Definition at line 54 of file dbxContent_cms_image_alignment_test.php.
| $out = $sanitize->invoke($cms, $html) |
Definition at line 15 of file dbxContent_cms_image_alignment_test.php.
| $sanitize = $class->getMethod('sanitize_content_html') |
Definition at line 9 of file dbxContent_cms_image_alignment_test.php.
| if(strpos($ordinary, 'float:') !==false||strpos($ordinary, 'text-align:center;')===false) | ( | strpos($ordinary, 'float:') ! | = = false || strpos($ordinary, 'text-align: center;') === false | ) |
Definition at line 55 of file dbxContent_cms_image_alignment_test.php.
Referenced by dbxObj\get_callback_name(), dbxObj\set_callback(), and dbxObj\set_callback_owner().