Example #1
0
 public static function init(\DocumentParser $modx, $mode = 'list')
 {
     self::$modx = $modx;
     self::setMode($mode);
 }