toba_asercion
Conjunto de aserciones básicas, en caso de fallo lanzan una excepción toba_error
Ubicada en /lib/toba_asercion.php [line 8]
|
static void arrays_igual_largo(
$array_1,
$array_2, [
$texto = "ATENCION, los arrays no tienen el mismo tamaño"]
)
|
|
Parámetros:
|
$array_1: |
|
|
$array_2: |
|
|
$texto: |
|
static void error(
$texto
)
|
|
Parámetros:
static void es_array(
$array, [
$texto = "ATENCION, el elemento no es un ARRAY"], [
$en_lugar_de = false]
)
|
|
Parámetros:
|
$array: |
|
|
$texto: |
|
|
$en_lugar_de: |
|
static void es_array_dimension(
$array,
$dimension, [
$texto = "ERROR: "]
)
|
|
Parámetros:
|
$array: |
|
|
$dimension: |
|
|
$texto: |
|
static void es_array_o_null(
$array, [
$texto = "ATENCION, el elemento no es un ARRAY y no es NULO"]
)
|
|
Parámetros:
static void es_objeto(
$instancia, [
$texto = "ATENCION, el elemento no es un OBJETO"]
)
|
|
Parámetros:
static void no_es_nulo(
$variable, [
$texto = "ATENCION, el elemento es NULO"]
)
|
|
Parámetros:
|
|