コード例 #1
0
 /**
  * Returns an array with the arguments of a method.
  *
  * @static
  * @access private
  * @param $methodSignature(String) The method's signature;
  */
 function getMethodArguments($methodSignature, $commentParams)
 {
     if (strlen($methodSignature) == 0) {
         //no arguments, return an empty array
         $result = array();
     } else {
         //clean the arguments before returning them
         $result = MethodTable::cleanArguments(explode(",", $methodSignature), $commentParams);
     }
     return $result;
 }