[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/zendframework/zend-stdlib/src/Guard/ -> GuardUtils.php (summary)

Zend Framework (http://framework.zend.com/)

Copyright: Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
File Size: 85 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  guardForArrayOrTraversable()
  guardAgainstEmpty()
  guardAgainstNull()

Functions
Functions that are not part of a class:

guardForArrayOrTraversable($data,$dataName = 'Argument',$exceptionClass = self::DEFAULT_EXCEPTION_CLASS)   X-Ref
Verifies that the data is an array or Traversable

param: mixed  $data           the data to verify
param: string $dataName       the data name
param: string $exceptionClass FQCN for the exception

guardAgainstEmpty($data,$dataName = 'Argument',$exceptionClass = self::DEFAULT_EXCEPTION_CLASS)   X-Ref
Verify that the data is not empty

param: mixed  $data           the data to verify
param: string $dataName       the data name
param: string $exceptionClass FQCN for the exception

guardAgainstNull($data,$dataName = 'Argument',$exceptionClass = self::DEFAULT_EXCEPTION_CLASS)   X-Ref
Verify that the data is not null

param: mixed  $data           the data to verify
param: string $dataName       the data name
param: string $exceptionClass FQCN for the exception



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1