I'm currently trying to run variables that are declared in a model in a function for checking and creating an email user.
The issue I'm having is that the variables being declared in model A.
const USERNAME = ':email_username';
const PASSWORD = ':email_password';
Do not work when I call them in Model B such as
$email_user = SystemEmail::USERNAME;
//$email_user ="NewtestRemail";
//$email_password = "PDmfSqR520eH";
$email_password = SystemEmail::PASSWORD;
I have also tried SystemEmail::model()->email_username;
But had no luck. Any ideas?