コード例 #1
0
ファイル: Index.php プロジェクト: TheSavior/WhiteBoard
 public function indexAction()
 {
     $adapter = $this->registry->dbAdapter;
     $populate = new Application_Modules_Installer_Models_PopulateTable($adapter);
     Application_Modules_Installer_Models_BuildBans::run($adapter);
     Application_Modules_Installer_Models_BuildConfig::run($adapter);
     Application_Modules_Installer_Models_BuildForums::run($adapter);
     Application_Modules_Installer_Models_BuildGroups::run($adapter);
     Application_Modules_Installer_Models_BuildImages::run($adapter);
     Application_Modules_Installer_Models_BuildOnline::run($adapter);
     Application_Modules_Installer_Models_BuildPermissions::run($adapter);
     Application_Modules_Installer_Models_BuildPosts::run($adapter);
     Application_Modules_Installer_Models_BuildThemes::run($adapter);
     Application_Modules_Installer_Models_BuildTopics::run($adapter);
     Application_Modules_Installer_Models_BuildUsers::run($adapter, "Username", "Displayname", "Password", "*****@*****.**");
 }
コード例 #2
0
ファイル: BuildThemes.php プロジェクト: TheSavior/WhiteBoard
 protected static function setValues()
 {
     self::$insertValues = array(array("name" => "Default", "display_name" => "Default"));
 }