Example #1
0
 /**
  * Method to set a prefix
  *
  * @param string $prefix     Contains a tableprefix
  *
  * @return MysqliDb
  */
 public function setPrefix($prefix = '')
 {
     self::$prefix = $prefix;
     return $this;
 }
Example #2
0
 public static function setPrefix($str = '')
 {
     self::$prefix = $str;
     self::$use_prefix = 'yes';
     $_SESSION['prefix'] = $str;
 }