setPrefix() public static method

Set the prefix for the tables.
public static setPrefix ( string $prefix ) : void
$prefix string
return void
コード例 #1
0
 /**
  * Set the table prefix for Bouncer's tables.
  *
  * @return void
  */
 protected function setTablePrefix()
 {
     if ($prefix = $this->getTablePrefix()) {
         Models::setPrefix($prefix);
     }
 }