Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

php get set

<?php
class User {
    protected $email;
    protected $password;
    
    public function getEmail() {
        return $this->email;
    }
    
    public function setEmail($email) {
        $this->email = $email;
    }
    
    public function getPassword() {
        return $this->password;
    }
    
    public function setPassword($password) {
        $this->password = $password;
    }
?>
Source by www.php-einfach.de #
 
PREVIOUS NEXT
Tagged: #php #set
ADD COMMENT
Topic
Name
6+5 =