Returns the node at the end of the stack of active formatting elements, if one exists. If the stack is empty, returns null.
Source
public function current_node() {
$current_node = end( $this->stack );
return $current_node ? $current_node : null;
}
Changelog
Version | Description |
---|---|
6.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.