Exemplo n.º 1
0
 /**
  * define a variavel a ser utilizada
  * @param [string] 
  */
 public static function setPrivate($value = null, $password = null)
 {
     self::$modeNow = 'private';
     if ($password == null) {
         $passwordPrivate = null;
     } else {
         self::$passwordPrivate = $password;
     }
     if (self::$_instancePrivate === null) {
         self::$_instancePrivate = new self();
     }
     //if($value != null)
     self::$varNowPrivate = $value;
     return self::$_instancePrivate;
 }