samples/PhotoAlbum/lib/rb.php
protected function getKeys($table,$table2=null) {
		$pdo = $this->adapter->getDatabase()->getPDO();
		$keys = $pdo->cubrid_schema(PDO::CUBRID_SCH_EXPORTED_KEYS,$table);//print_r($keys);
		if ($table2) $keys = array_merge($keys, $pdo->cubrid_schema(PDO::CUBRID_SCH_IMPORTED_KEYS,$table2) );//print_r($keys);
		
		return $keys;
	}
protected function getKeys($table,$table2=null) {
		$pdo = $this->adapter->getDatabase()->getPDO();
		$keys = $pdo->cubrid_schema(PDO::CUBRID_SCH_EXPORTED_KEYS,$table);//print_r($keys);
		if ($table2) $keys = array_merge($keys, $pdo->cubrid_schema(PDO::CUBRID_SCH_IMPORTED_KEYS,$table2) );//print_r($keys);
		
		return $keys;
	}
protected function getKeys ( $ table , $ table2 = null ) { $ pdo = $ this -> adapter -> getDatabase ( ) -> getPDO ( ) ; $ keys = $ pdo -> cubrid_schema ( PDO :: CUBRID_SCH_EXPORTED_KEYS , $ table ) ; //print_r($keys); if ( $ table2 ) $ keys = array_merge ( $ keys , $ pdo -> cubrid_schema ( PDO :: CUBRID_SCH_IMPORTED_KEYS , $ table2 ) ) ; //print_r($keys); return $ keys ; }
Obtains the keys of a table using the PDO schema function.

@param type $table
@return type
Obtains the keys of a table using the PDO schema function .