protected function setDefaultAttributes()
    {
        if (!empty($this->attributes)) {
            foreach ($this->attributes as $attr => $val) {
                $this->realSetAttribute($attr, $val);
            }
        }
    }
protected function setDefaultAttributes()
    {
        if (!empty($this->attributes)) {
            foreach ($this->attributes as $attr => $val) {
                $this->realSetAttribute($attr, $val);
            }
        }
    }
protected function setDefaultAttributes ( ) { if ( ! empty ( $ this -> attributes ) ) { foreach ( $ this -> attributes as $ attr => $ val ) { $ this -> realSetAttribute ( $ attr , $ val ) ; } } }
Set default attributes

@access protected
Set default attributes