コード例 #1
0
ファイル: config.php プロジェクト: omusico/isle-web-framework
 /**
  * @brief Lists all available config keys
  * @return array with key names
  *
  * This function returns all keys saved in config.php. Please note that it
  * does not return the values.
  */
 public static function getKeys()
 {
     return self::$object->getKeys();
 }
コード例 #2
0
ファイル: systemconfig.php プロジェクト: kenwi/core
 /**
  * Lists all available config keys
  * @return array an array of key names
  */
 public function getKeys()
 {
     return $this->config->getKeys();
 }
コード例 #3
0
ファイル: config.php プロジェクト: ninjasilicon/core
	public function testGetKeys() {
		$expectedConfig = array('foo', 'beers', 'alcohol_free');
		$this->assertSame($expectedConfig, $this->config->getKeys());
	}
コード例 #4
0
ファイル: config.php プロジェクト: olucao/owncloud-core
 public function testGetKeys()
 {
     $this->assertEquals(array('foo'), $this->config->getKeys());
 }