Changeset 25394 for trunk/include
- Timestamp:
- Nov 8, 2013, 1:16:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/ws_core.inc.php
r25115 r25394 390 390 return isset($signature) ? $signature : array(); 391 391 } 392 393 /** 394 * @since 2.6 395 */ 396 function getMethodOptions($methodName) 397 { 398 $options = @$this->_methods[$methodName]['options']; 399 return isset($options) ? $options : array(); 400 } 392 401 393 402 static function isPost() … … 629 638 'description' => $service->getMethodDescription($methodName), 630 639 'params' => array(), 640 'options' => $service->getMethodOptions($methodName), 631 641 ); 632 642 … … 644 654 $param_data['defaultValue'] = $options['default']; 645 655 } 656 if (isset($options['maxValue'])) 657 { 658 $param_data['maxValue'] = $options['maxValue']; 659 } 646 660 if (isset($options['info'])) 647 661 {
Note: See TracChangeset
for help on using the changeset viewer.