本文整理汇总了C++中RETURN_MEMBER函数的典型用法代码示例。如果您正苦于以下问题:C++ RETURN_MEMBER函数的具体用法?C++ RETURN_MEMBER怎么用?C++ RETURN_MEMBER使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了RETURN_MEMBER函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: PHP_METHOD
/**
* Return current prefixes registered in the autoloader
*
* @param array
*/
PHP_METHOD(Phalcon_Loader, getPrefixes){
RETURN_MEMBER(this_ptr, "_prefixes");
}
示例2: PHP_METHOD
/**
* Returns the internal dependency injector
*
* @return Phalcon\DiInterface
*/
PHP_METHOD(Phalcon_Http_Request, getDI){
RETURN_MEMBER(this_ptr, "_dependencyInjector");
}
示例3: PHP_METHOD
PHP_METHOD(Phalcon_Queue_Beanstalk_Job, getBody) {
RETURN_MEMBER(this_ptr, "_body");
}
示例4: PHP_METHOD
/**
* Check whether column have an numeric type
*
* @return boolean
*/
PHP_METHOD(Phalcon_Db_Column, isNumeric){
RETURN_MEMBER(this_ptr, "_isNumeric");
}
示例5: PHP_METHOD
/**
* Returns messages generated by the validator
*/
PHP_METHOD(Phalcon_Mvc_Model_Validator, getMessages) {
RETURN_MEMBER(this_ptr, "_messages");
}
示例6: PHP_METHOD
/**
* Returns the internal dependency injector
*
* @return Phalcon\DiInterface
*/
PHP_METHOD(Phalcon_Flash_Session, getDI){
RETURN_MEMBER(this_ptr, "_dependencyInjector");
}
示例7: PHALCON_THROW_EXCEPTION_STRW
if (Z_TYPE_P(engines) != IS_ARRAY) {
PHALCON_THROW_EXCEPTION_STRW(phalcon_mvc_view_exception_ce, "Engines to register must be an array");
return;
}
phalcon_update_property_this(this_ptr, SL("_registeredEngines"), engines TSRMLS_CC);
}
/**
* Returns the registered templating engines
*
* @brief array Phalcon\Mvc\View\Simple::getRegisteredEngines()
*/
PHP_METHOD(Phalcon_Mvc_View_Simple, getRegisteredEngines) {
RETURN_MEMBER(getThis(), "_registeredEngines")
}
/**
* Loads registered template engines, if none is registered it will use Phalcon\Mvc\View\Engine\Php
*
* @return array
*/
PHP_METHOD(Phalcon_Mvc_View_Simple, _loadTemplateEngines){
zval *engines = NULL, *dependency_injector, *registered_engines;
zval *php_engine, *arguments, *engine_service = NULL;
zval *extension = NULL, *engine_object = NULL, *exception_message = NULL;
HashTable *ah0;
HashPosition hp0;
zval **hd;
示例8: PHP_METHOD
/**
* Gets views directory
*
* @return string
*/
PHP_METHOD(Phalcon_Mvc_View_Simple, getViewsDir){
RETURN_MEMBER(this_ptr, "_viewsDir");
}
示例9: PHP_METHOD
/**
* Returns the route's name
*
* @return string
*/
PHP_METHOD(Phalcon_Mvc_Router_Route, getName){
RETURN_MEMBER(this_ptr, "_name");
}