Page MenuHomeWickedGov Phorge

MMLmunder.php
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

MMLmunder.php

<?php
namespace MediaWiki\Extension\Math\WikiTexVC\MMLnodes;
/**
* Presentation MathML 3 Element
* name: "munder"
* description: "attach an underscript to a base"
* category: "Script and Limit Schemata"
*/
class MMLmunder extends MMLbase {
public function __construct( string $texclass = "", array $attributes = [] ) {
parent::__construct( "munder", $texclass, $attributes );
}
/**
* Creates a new subtree element with base and scripts
* @param MMLbase $base Main content element
* @param MMLbase $underscript Element placed below the base (subscript)
* @param string $texclass Optional TeX class for styling
* @param array $attributes Additional HTML attributes for the element
* @return static New instance with children in order: [base, underscript]
*/
public static function newSubtree( MMLbase $base,
MMLbase $underscript,
string $texclass = "",
array $attributes = [] ) {
$instance = new self( $texclass, $attributes );
$instance->children = [ $base, $underscript ];
return $instance;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 21, 15:48 (6 h, 42 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
94/68/75fbe8b901f37d37cd2e0f4a1645
Default Alt Text
MMLmunder.php (1 KB)

Event Timeline