| 517 |
if ( hashGetLong ( ht, "notice_mail" , &l ) ) setNoticeMail ( l ); |
if ( hashGetLong ( ht, "notice_mail" , &l ) ) setNoticeMail ( l ); |
| 518 |
if ( hashGetLong ( ht, "notice_mail_since" , &l ) ) setNoticeMailSince ( l ); |
if ( hashGetLong ( ht, "notice_mail_since" , &l ) ) setNoticeMailSince ( l ); |
| 519 |
if ( hashGetLong ( ht, "private_index_id " , &l ) ) setPrivateIndexID ( l ); |
if ( hashGetLong ( ht, "private_index_id " , &l ) ) setPrivateIndexID ( l ); |
| 520 |
|
if ( hashGetLong ( ht, "item_number_limit" , &l ) ) setItemNumberLimit ( l ); |
| 521 |
|
if ( hashGetLong ( ht, "index_number_limit", &l ) ) setIndexNumberLimit ( l ); |
| 522 |
|
if ( hashGetDouble( ht, "item_storage_limit", &d ) ) setItemStorageLimit ( d ); |
| 523 |
|
|
| 524 |
result = RES_OK; |
result = RES_OK; |
| 525 |
} |
} |
| 1035 |
add_assoc_long( z, "notice_mail", pAccount -> getNoticeMail( ) ); |
add_assoc_long( z, "notice_mail", pAccount -> getNoticeMail( ) ); |
| 1036 |
add_assoc_long( z, "notice_mail_since", pAccount -> getNoticeMailSince( ) ); |
add_assoc_long( z, "notice_mail_since", pAccount -> getNoticeMailSince( ) ); |
| 1037 |
add_assoc_long( z, "private_index_id", pAccount -> getPrivateIndexID( ) ); |
add_assoc_long( z, "private_index_id", pAccount -> getPrivateIndexID( ) ); |
| 1038 |
|
add_assoc_long( z, "item_number_limit", pAccount -> getItemNumberLimit( ) ); |
| 1039 |
|
add_assoc_long( z, "index_number_limit", pAccount -> getIndexNumberLimit( ) ); |
| 1040 |
|
add_assoc_double( z, "item_storage_limit", pAccount -> getItemStorageLimit( ) ); |
| 1041 |
return RES_OK; |
return RES_OK; |
| 1042 |
} |
} |
| 1043 |
|
|
| 1108 |
add_assoc_string( new_array, "gname", ( char* )pGroups[ i ].getGname( ), 1 ); |
add_assoc_string( new_array, "gname", ( char* )pGroups[ i ].getGname( ), 1 ); |
| 1109 |
add_assoc_string( new_array, "gdesc", ( char* )pGroups[ i ].getDesc( ), 1 ); |
add_assoc_string( new_array, "gdesc", ( char* )pGroups[ i ].getDesc( ), 1 ); |
| 1110 |
add_assoc_long( new_array, "group_index_id", pGroups[ i ].getGroupIndexID( ) ); |
add_assoc_long( new_array, "group_index_id", pGroups[ i ].getGroupIndexID( ) ); |
| 1111 |
|
add_assoc_long( new_array, "item_number_limit", pGroups[ i ].getItemNumberLimit( ) ); |
| 1112 |
|
add_assoc_long( new_array, "index_number_limit", pGroups[ i ].getIndexNumberLimit( ) ); |
| 1113 |
|
add_assoc_double( new_array, "item_storage_limit", pGroups[ i ].getItemStorageLimit( ) ); |
| 1114 |
} |
} |
| 1115 |
return RES_OK; |
return RES_OK; |
| 1116 |
} |
} |
| 1131 |
add_assoc_string( z, "gname", ( char* )pGroup -> getGname( ), 1 ); |
add_assoc_string( z, "gname", ( char* )pGroup -> getGname( ), 1 ); |
| 1132 |
add_assoc_string( z, "gdesc", ( char* )pGroup -> getDesc( ), 1 ); |
add_assoc_string( z, "gdesc", ( char* )pGroup -> getDesc( ), 1 ); |
| 1133 |
add_assoc_long( z, "group_index_id", pGroup -> getGroupIndexID( ) ); |
add_assoc_long( z, "group_index_id", pGroup -> getGroupIndexID( ) ); |
| 1134 |
|
add_assoc_long( z, "item_number_limit", pGroup -> getItemNumberLimit( ) ); |
| 1135 |
|
add_assoc_long( z, "index_number_limit", pGroup -> getIndexNumberLimit( ) ); |
| 1136 |
|
add_assoc_double( z, "item_storage_limit", pGroup -> getItemStorageLimit( ) ); |
| 1137 |
return RES_OK; |
return RES_OK; |
| 1138 |
} |
} |
| 1139 |
|
|
| 1171 |
convert_to_long_ex( tmp ) ; |
convert_to_long_ex( tmp ) ; |
| 1172 |
pGroup -> setGroupIndexID( (*tmp) -> value.lval ); |
pGroup -> setGroupIndexID( (*tmp) -> value.lval ); |
| 1173 |
} |
} |
| 1174 |
|
key = "item_number_limit"; |
| 1175 |
|
if( zend_hash_find( z -> value.ht, key, strlen( key ) + 1, ( void** )&tmp ) == SUCCESS ){ |
| 1176 |
|
convert_to_long_ex( tmp ) ; |
| 1177 |
|
pGroup -> setItemNumberLimit( (*tmp) -> value.lval ); |
| 1178 |
|
} |
| 1179 |
|
key = "index_number_limit"; |
| 1180 |
|
if( zend_hash_find( z -> value.ht, key, strlen( key ) + 1, ( void** )&tmp ) == SUCCESS ){ |
| 1181 |
|
convert_to_long_ex( tmp ) ; |
| 1182 |
|
pGroup -> setIndexNumberLimit( (*tmp) -> value.lval ); |
| 1183 |
|
} |
| 1184 |
|
key = "item_storage_limit"; |
| 1185 |
|
if( zend_hash_find( z -> value.ht, key, strlen( key ) + 1, ( void** )&tmp ) == SUCCESS ){ |
| 1186 |
|
convert_to_double_ex( tmp ) ; |
| 1187 |
|
pGroup -> setItemStorageLimit( (*tmp) -> value.dval ); |
| 1188 |
|
} |
| 1189 |
return RES_OK; |
return RES_OK; |
| 1190 |
} |
} |
| 1191 |
|
|