Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

where is the class PPModel? #66

Closed
towserchen opened this issue Apr 18, 2014 · 8 comments
Closed

where is the class PPModel? #66

towserchen opened this issue Apr 18, 2014 · 8 comments

Comments

@towserchen
Copy link

I still can't find it.

@herghost
Copy link

Its in SDK-Core, \paypal\paypal\sdk-core-php\lib\PayPal\Common

@GrahamCampbell
Copy link

@GrahamCampbell
Copy link

@marcellowy
Copy link

i think all package must include core sdk, same like this error

@quertyui
Copy link

quertyui commented Oct 8, 2014

The problem is related to the order the lib files are being Included...
I am including them manually in this order and it works..

"; include_once($filename); } foreach (glob(dirname(**FILE**)."/Common/*.php") as $filename) { echo **FILE**; echo $filename; echo "
"; include_once($filename); } foreach (glob(dirname(**FILE**)."/Auth/*.php") as $filename) { echo **FILE**; echo $filename; echo "
"; include_once($filename); } foreach (glob(dirname(**FILE**)."/Handler/*.php") as $filename) { echo **FILE**; echo $filename; echo "
"; include_once($filename); } foreach (glob(dirname(**FILE**)."/Rest/*.php") as $filename) { echo **FILE**; echo $filename; echo "
"; include_once($filename); } foreach (glob(dirname(**FILE**)."/Transport/_.php") as $filename) { echo **FILE**; echo $filename; echo "
"; include_once($filename); } foreach (glob(dirname(**FILE**)."/Exception/_.php") as $filename) { echo **FILE**; echo $filename; echo "
"; include_once($filename); } include_once(dirname(**FILE**)."/Api/Payment.php"); foreach (glob(dirname(**FILE**)."/Api/*.php") as $filename) { echo **FILE**; echo $filename; echo "
"; include_once($filename); } exit; ?>

@jaypatel512
Copy link
Contributor

The latest release has merged the sdk-core dependency, and wont require core-sdk, which would resolve these issues.

@ulkas
Copy link

ulkas commented Oct 9, 2014

@towser451 maybe search if your IDE has jump to declaration feature. than you can easilly locate the file after howering/clicking/some shortcut above the class Name extends PPModel part in your code.

@marcellowy
Copy link

not include sdk-core when i used it. maybe now it's works, who know

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants