Page MenuHomeWickedGov Phorge

MMLmroot.php
No OneTemporary

Size
998 B
Referenced Files
None
Subscribers
None

MMLmroot.php

<?php
namespace MediaWiki\Extension\Math\WikiTexVC\MMLnodes;
/**
* Presentation MathML 3 Element
* name: "mroot"
* description: "form a radical with specified index"
* category: "General Layout Schemata"
*/
class MMLmroot extends MMLbase {
public function __construct( string $texclass = "", array $attributes = [] ) {
parent::__construct( "mroot", $texclass, $attributes );
}
/**
* Creates a new subtree element with base and scripts
* @param MMLbase|string $base Radicand
* @param MMLbase|string $index Root degree
* @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, index]
*/
public static function newSubtree( $base,
$index,
string $texclass = "",
array $attributes = [] ) {
$instance = new self( $texclass, $attributes );
$instance->children = [ $base, $index ];
return $instance;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 21, 19:26 (21 h, 51 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
12/ad/318b9bc950a71adf8acf0c7b196b
Default Alt Text
MMLmroot.php (998 B)

Event Timeline