Subversion Repositories php_users

Rev

Rev 21 | Rev 46 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21 Rev 32
Line 140... Line 140...
140
         $this->configuration = array_merge_recursive( $this->configuration, $customFields );
140
         $this->configuration = array_merge_recursive( $this->configuration, $customFields );
141
      }
141
      }
142
   } // constructor
142
   } // constructor
143
   
143
   
144
   /**
144
   /**
-
 
145
    * generic getter to retrieve stuff from $this->data
-
 
146
    * 
-
 
147
    * Just looks for the key and returns the value, or null if not found
-
 
148
    * 
-
 
149
    * @param string[] $name key to look up in $this->data
-
 
150
    * 
-
 
151
    * @return string $this->data[$name], or null if not set
-
 
152
    */
-
 
153
   public function __get( $name ) {
-
 
154
      return isset( $this->data[$name] ) ? $this->data[$name] : null;
-
 
155
   }
-
 
156
   
-
 
157
   /**
-
 
158
    * Checks if $name exists in $this->data
-
 
159
    * 
-
 
160
    * @param string[] $name key to look up in $this->data
-
 
161
    * 
-
 
162
    * @return bool true if $this->data[$name] is set
-
 
163
    */
-
 
164
   public function __isset( $name ) {
-
 
165
      return isset( $this->data[$name] );
-
 
166
   }
-
 
167
      
-
 
168
   
-
 
169
   /**
145
    * getter for $this->errors
170
    * getter for $this->errors
146
    * 
171
    * 
147
    * @return string html div containing one paragraph for every error
172
    * @return string html div containing one paragraph for every error
148
    */
173
    */
149
   public function errors() {
174
   public function errors() {