/** * Phalcon\Assets\Resource\Css * * @param string $path * @param boolean $local * @param boolean $filter * @param array $attributes */ PHP_METHOD(Phalcon_Assets_Resource_Css, __construct){ zval *path, *local = NULL, *filter = NULL, *attributes = NULL, *type; zval *p0[] = { NULL, NULL, NULL, NULL, NULL }; PHALCON_MM_GROW(); phalcon_fetch_params(1, 1, 3, &path, &local, &filter, &attributes); if (!local) { PHALCON_INIT_VAR(local); ZVAL_BOOL(local, 1); } if (!filter) { PHALCON_INIT_VAR(filter); ZVAL_BOOL(filter, 1); } if (!attributes) { PHALCON_INIT_VAR(attributes); } PHALCON_INIT_VAR(type); ZVAL_STRING(type, "css", 1); p0[0] = type; p0[1] = path; p0[2] = local; p0[3] = filter; p0[4] = attributes; PHALCON_CALL_PARENT_PARAMS_NORETURN(this_ptr, "Phalcon\\Assets\\Resource\\Css", "__construct", 5, p0); PHALCON_MM_RESTORE(); }
/** * Paginator Exception * * @param string $message */ PHP_METHOD(Phalcon_Paginator_Exception, __construct){ zval *v0 = NULL; zval *p0[] = { NULL }; PHALCON_MM_GROW(); if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &v0) == FAILURE) { PHALCON_MM_RESTORE(); RETURN_NULL(); } Z_ADDREF_P(v0); p0[0] = v0; PHALCON_CALL_PARENT_PARAMS_NORETURN(this_ptr, "Phalcon_Paginator_Exception", "__construct", 1, p0); Z_DELREF_P(p0[0]); PHALCON_MM_RESTORE(); RETURN_NULL(); }