Beispiel #1
0
 /**
  * Ads a repository to the know repositories list.
  *
  * @param  string $repository_path  An Apache mod_svn interface to subversion.
  * @return void
  * @access public
  */
 public function addRepository($repository_path)
 {
     if (!in_array(trim($repository_path), $this->getAvailableRepositories(true))) {
         AkFileSystem::file_add_contents($this->_getRepositoriesConfigPath(), $repository_path . "\n");
     }
 }
Beispiel #2
0
 /**
  * @deprecated 
  * @uses AkFileSystem::file_add_contents
  */
 static function file_add_contents($file_name, $content, $options = array())
 {
     Ak::deprecateMethod(__METHOD__, 'AkFileSystem::file_add_contents()');
     return AkFileSystem::file_add_contents($file_name, $content, $options);
 }