PHP Classes

Exclude functions

Recommend this page to a friend!

      PHP WSDL Generator  >  All threads  >  Exclude functions  >  (Un) Subscribe thread alerts  
Subject:Exclude functions
Summary:Define which functions to be excluded
Messages:3
Author:Jansen T
Date:2014-01-21 10:01:18
Update:2014-01-22 03:29:00
 

  1. Exclude functions   Reply   Report abuse  
Picture of Jansen T Jansen T - 2014-01-21 10:01:18
Can I exclude (or only include) some functions based on function names or regex?

  2. Re: Exclude functions   Reply   Report abuse  
Picture of Protung Dragos Protung Dragos - 2014-01-21 11:28:54 - In reply to message 1 from Jansen T
Yes, when you generate the WSDL:

$wsdlGenerator->generateWSDL(true);

This means that only methods that have the "@soap" annotation will be included in the WSDL

  3. Re: Exclude functions   Reply   Report abuse  
Picture of Jansen T Jansen T - 2014-01-22 03:29:00 - In reply to message 1 from Jansen T
Thanks, now it works :D