/** * __construct * * @access public * @return void */ public function __construct() { $this->configure(); $this->data = array(); foreach ($this->schema as $key => $value) { $this->data[$key] = null; } $this->soapClient = ETCore::getClient(); }
public function __construct() { $this->configure(); foreach ($this->propertyNames as $pName) { $this->properties[$pName] = null; } foreach ($this->attributeNames as $aName) { $this->attributes[$aName] = null; } $requiredProperties = array('EmailAddress'); $this->requiredProperties = array_unique(array_merge($requiredProperties, $this->requiredProperties)); $this->soapClient = ETCore::getClient(); }
public function __construct($customerKey = null) { $extensionClassName = get_class($this); $this->extensionObjectClassName = $extensionClassName . 'Object'; if ($customerKey === null) { $deo = new $this->extensionObjectClassName(); } else { $deo = new $this->extensionObjectClassName($customerKey); } $schema = $deo->getSchema(); $this->customerKey = $schema['customerKey']; $this->schema = $schema['fields']; $this->soapClient = ETCore::getClient(); }
public function __construct() { $this->soapClient = ETCore::getClient(); $className = get_class($this); $this->subscriberClassName = substr($className, 0, -4); }