Exemplo n.º 1
0
 /** @function __construct() the class constructor
  * @param $data the data to pass to the parent constructor
  * @return sets the ip field to that of the remote server
  */
 public function __construct($data = '')
 {
     parent::__construct($data);
     return $this->set('ip', $_SERVER['REMOTE_ADDR']);
 }