Esempio n. 1
0
/***************************************************************************
 *   Copyright (C) 2006-2007 by Konstantin V. Arkhipov                     *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Lesser General Public License as        *
 *   published by the Free Software Foundation; either version 3 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/
/* $Id$ */

#include "onphp.h"

zend_function_entry onphp_funcs_Instantiatable[] = {
	ONPHP_ABSTRACT_ME(Instantiatable, me, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
	{NULL, NULL, NULL}
};
Esempio n. 2
0
        && (min = ONPHP_READ_PROPERTY(getThis(), "min"))
        && (max = ONPHP_READ_PROPERTY(getThis(), "max"))
        && !(
            (IS_NULL != Z_TYPE_P(min))
            && (Z_LVAL_P(out) < Z_LVAL_P(min))
        ) && !(
            (IS_NULL != Z_TYPE_P(max))
            && (Z_LVAL_P(out) > Z_LVAL_P(max))
        )
    ) {
        ONPHP_UPDATE_PROPERTY_LONG(getThis(), "value", Z_LVAL_P(out));

        RETVAL_TRUE;
    } else {
        RETVAL_FALSE;
    }

    zval_ptr_dtor(&out);
}

static ONPHP_ARGINFO_ONE;

zend_function_entry onphp_funcs_PrimitiveNumber[] = {
    ONPHP_ABSTRACT_ME(PrimitiveNumber, checkNumber, arginfo_one, ZEND_ACC_PROTECTED)
    ONPHP_ABSTRACT_ME(PrimitiveNumber, castNumber, arginfo_one, ZEND_ACC_PROTECTED)
    ONPHP_ME(PrimitiveNumber, import, arginfo_one, ZEND_ACC_PUBLIC)
    {
        NULL, NULL, NULL
    }
};
Esempio n. 3
0
/***************************************************************************
 *   Copyright (C) 2007 by Konstantin V. Arkhipov                          *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Lesser General Public License as        *
 *   published by the Free Software Foundation; either version 3 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/
/* $Id$ */

#include "onphp.h"

zend_function_entry onphp_funcs_Aliased[] = {
	ONPHP_ABSTRACT_ME(Aliased, getAlias, NULL, ZEND_ACC_PUBLIC)
	{NULL, NULL, NULL}
};
Esempio n. 4
0
/***************************************************************************
 *   Copyright (C) 2006-2007 by Konstantin V. Arkhipov                     *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Lesser General Public License as        *
 *   published by the Free Software Foundation; either version 3 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/
/* $Id$ */

#include "onphp.h"

static ONPHP_ARGINFO_ONE;

zend_function_entry onphp_funcs_ViewResolver[] = {
	ONPHP_ABSTRACT_ME(ViewResolver, resolveViewName, arginfo_one, ZEND_ACC_PUBLIC)
	{NULL, NULL, NULL}
};
Esempio n. 5
0
/***************************************************************************
 *   Copyright (C) 2006-2007 by Konstantin V. Arkhipov                     *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Lesser General Public License as        *
 *   published by the Free Software Foundation; either version 3 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/
/* $Id$ */

#include "onphp.h"

zend_function_entry onphp_funcs_Prototyped[] = {
	ONPHP_ABSTRACT_ME(Prototyped, proto, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
	{NULL, NULL, NULL}
};
Esempio n. 6
0
/***************************************************************************
 *   Copyright (C) 2006-2007 by Konstantin V. Arkhipov                     *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Lesser General Public License as        *
 *   published by the Free Software Foundation; either version 3 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/
/* $Id$ */

#include "onphp.h"

zend_function_entry onphp_funcs_FullTextDAO[] = {
	ONPHP_ABSTRACT_ME(FullTextDAO, getIndexField, NULL, ZEND_ACC_PUBLIC)
	{NULL, NULL, NULL}
};
Esempio n. 7
0
/***************************************************************************
 *   Copyright (C) 2006-2007 by Konstantin V. Arkhipov                     *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Lesser General Public License as        *
 *   published by the Free Software Foundation; either version 3 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/
/* $Id$ */

#include "onphp_core.h"

zend_function_entry onphp_funcs_SQLTableName[] = {
	ONPHP_ABSTRACT_ME(SQLTableName, getTable, NULL, ZEND_ACC_PUBLIC)
	{NULL, NULL, NULL}
};