Debug_Bar_Pretty_Output::limit_recursion PHP Метод

limit_recursion() публичный статический Метод

Always make sure you also unset the limit after you're done with this class so as not to impact other plugins which may be using this printing class.
С версии: 1.4
public static limit_recursion ( integer $depth )
$depth integer Maximum recursion depth.
        public static function limit_recursion($depth)
        {
            if (is_int($depth) && $depth > 0) {
                self::$limit_recursion = $depth;
            }
        }

Usage Example

 /**
  * Reset the recusion limit to it's default (unlimited).
  *
  * @since 1.4
  */
 public static function unset_recursion_limit()
 {
     self::$limit_recursion = false;
 }
All Usage Examples Of Debug_Bar_Pretty_Output::limit_recursion