Salve, ho la seguente classe:
	
	
	
		
Nella funzione validate quando scrive $this->email sta richiamando l'array $this->propertyTable['email'] = 'semail'; ?
				
			
		PHP:
	
	class Email extends PropertyObject {
    
    function __construct($emailid) {
        $arData = DataManager::getEmailData($emailid);
        parent::__construct($arData);
        $this->propertyTable['emailid'] = 'emailid';
        $this->propertyTable['id'] = 'emailid';
        $this->propertyTable['entityid'] = 'entityid';
        $this->propertyTable['email'] = 'semail';
        $this->propertyTable['type'] = 'stype';
    }
    function validate() {
        if(!$this->email) {
            $this->errors['email'] = 'You must set an email address.';
        }
	Nella funzione validate quando scrive $this->email sta richiamando l'array $this->propertyTable['email'] = 'semail'; ?
			
				Ultima modifica di un moderatore: